Subset strings syntax

53 views
Skip to first unread message

Jean-Baptiste

unread,
Dec 2, 2013, 9:07:01 AM12/2/13
to sfntly...@googlegroups.com
Hello,
I am trying to subset fonts. While the usual character-to-glyphs entitites works fine (ABCDE…), I can't find the method to define a string based on glyph name, unicode, or glyph ID.
This is problematic if
- I need to keep control glyphs with dot-names: .CR .NULL
- I need to keep "invisible" glyphs: space, nbspace etc
- and most important, arbitrary glyphnames: A.smallcap, circle.white, etc

So, what is the best method/syntax?
Thanks,
Jean-Baptiste

John Hewson

unread,
Dec 2, 2013, 9:56:50 AM12/2/13
to sfntly...@googlegroups.com
I'm not sure what the answer to your question is, but I can tell you that browsers do not render control characters or invisible characters even if there is a glyph in the relevant slot. Any such glyphs will need to be reencoded to different Unicode characters. I think this might be done already...

-- John
--
You received this message because you are subscribed to the Google Groups "sfntly-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sfntly-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Jean-Baptiste

unread,
Dec 3, 2013, 6:05:30 AM12/3/13
to sfntly...@googlegroups.com
Thanks. Control & invisible characters are not the primary goal here. Right now I can't even keep the glyph "space" in the resulting subset. So any method to define a subset string based on glyphnames would be great.
Jean-Baptiste
Reply all
Reply to author
Forward
0 new messages