Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 02 17:34
    cmyr opened #2909
  • Nov 30 14:14
    anthrotype commented #1537
  • Nov 30 14:13
    davelab6 commented #1537
  • Nov 30 05:19
    punchcutter commented #2905
  • Nov 30 05:10
    richso commented #2905
  • Nov 30 05:10
    richso commented #2905
  • Nov 30 05:09
    richso commented #2905
  • Nov 29 10:13
    anthrotype commented #2908
  • Nov 29 10:12
    madig opened #2908
  • Nov 29 01:50
    moi15moi edited #2907
  • Nov 29 01:23
    moi15moi opened #2907
  • Nov 28 18:19
    simoncozens synchronize #2695
  • Nov 28 16:10

    anthrotype on pyup-scheduled-update-2022-11-21

    (compare)

  • Nov 28 16:10
    pyup-bot closed #2901
  • Nov 28 16:10
    pyup-bot commented #2901
  • Nov 28 16:10
    pyup-bot opened #2906
  • Nov 28 16:10

    anthrotype on pyup-scheduled-update-2022-11-28

    Update skia-pathops from 0.7.3 … (compare)

  • Nov 28 16:10

    anthrotype on pyup-scheduled-update-2022-11-28

    (compare)

  • Nov 28 16:10

    anthrotype on pyup-scheduled-update-2022-11-28

    Update zopfli from 0.2.1 to 0.2… (compare)

  • Nov 24 12:46
    LettError commented #2904
anthrotype
@anthrotype:matrix.org
[m]
you create a pathops.Path from a TTGlyph, then call intersection then convert back to TTGlyph, replacing original
You want to call the pathops.op() method with two Paths and PathOp.INTERSECTION operator
n8willis
@n8willis
yeah. I'll give it a try
thanks @anthrotype:matrix.org !
Nuc1eoN
@Nuc1eoN_gitlab
Any bitmap font or text art glyph enthusiasts here? :P
Fredrick Brennan
@ctrlcctrlv:matrix.org
[m]
@Nuc1eoN_gitlab: it seems today the answer is oui unified-font-object/ufo-spec#205
Nuc1eoN
@Nuc1eoN_gitlab
Sounds nice. If anybody is interested in bitmap fonts, ascii art and the like, we have a group over at #retrofonts.club @ irc.libera.chat
n8willis
@n8willis
Is there any FOSS code out there for deriving skeletons from TTGlyphs? Or, alternatively, mitred offset curves?
Akin to the general-geometry stuff here: https://www.sthu.org/research/straightskeleton/ (which has an implementation, but is not open source)
I've also seen the GlyphsApp LTTR-INK plugin, which is similarly not open; just wondering if I've overlooked something.
madigens
@madigens:matrix.org
[m]
not aware, but maybe ask on font twitter?
n8willis
@n8willis
Just in case anybody has been losing sleep over this question waiting for some closure, the answer appears to be "No, there isn't."
David Corbett
@dscorbett
Is there anything that optimizes coverage tables by reassigning glyph IDs to minimize the number of necessary RangeRecords?
anthrotype
@anthrotype:matrix.org
[m]
Reordering glyphs in an existing font is not trivial, the only implementation that I know of is the one we made for nanoemoji tool here, it doesn't do it for optimizing coverage range records but you can use it as a start
(I'm on the runway waiting for my flight to depart)
David Corbett
@dscorbett
This is for a not-yet-built font: I know what the glyphs will be and all the GSUB and GPOS rules, but nothing has been compiled. Does that make it easier?
anthrotype
@anthrotype:matrix.org
[m]
Yes, in that case you simply need to set the glyphOrder of your source font to the desired list
And the compiler will use that order you gave
n8willis
@n8willis
Another fun question for any of you CFF fans....
I'm trying to obfuscate bits of a bunch of fonts. Subsetter does fine for most, but I can't seem to track down everything I need to dummy-out for CFF.
1 reply
Just stepping through the TopDict stuff, this much works:
font["CFF "].cff[0].FamilyName = dummy
font["CFF "].cff[0].FontName = dummy
font["CFF "].cff[0].FullName = dummy
font["CFF "].cff[0].version = dummy
font["CFF "].cff[0].Notice = dummy
font["CFF "].cff[0].Copyright = dummy
font["CFF "].cff[0].BaseFontName = dummy
font["CFF "].cff[0].PostScript = dummy
font["CFF "].cff[0].Weight = dummy
But I'm still ending up with a stray copy of the original font name somewhere.... It shows up as "Fontname" in the PS Names panel on FontForge. Maybe more useful, it looks like it's in the <CFFFont name= > element in the ttx XML.
How do I get at that? Looking at the cffLib source, I'm obviously missing where it comes from....
Jay
@visusys
Hi all. New to this. Is there a snippet somewhere that converts TTF to OTF? Just like the otf2ttf.py Snippet that comes with Fonttools but in reverse?
fontchangerguru
@fontchangerguru
You can get it from any site that uses Unicode for it. I'll suggest you to visit https://fontchangerguru.com/ it will save you time and will provide what you are looking for.