[CentOS] get unicode ranges from a TTF ???

Fri May 4 06:29:33 UTC 2018
Alice Wonder <alice at domblogger.net>

I received excellent advice on this that works -

https://twitter.com/FakeUnicode/status/991916370752229376

ttx -t cmap -d . Dosis-v2031b-200ExtraLight.otf

for example produces an XML file with the Unicode numbers that I can 
parse to figure out the range covered.

On 05/01/2018 09:52 PM, Alice Wonder wrote:
> Hello list,
>
> Is there a command line tool I run on a ttf font and get a list of the
> Unicode Ranges for that that font that would be compatible with the
> unicode-range: parameter in a CSS @fontface declaration?
>
> I'm guessing something in the python world probably exists...
>
> Hopefully something that works in CentOS 7
>
> I need something like that for a FLOSS font server project that doesn't
> track users.
>
> I don't feel a need to split up a font by unicode range, but a lot of
> fonts are already split by their upstream developers according to
> language support - e.g. the Noto Fonts, the main font has a lot of
> glyphs but Hebrew for example is in it's own font file already.
>
> I want to be able to get the range information for what the fonts support.
>
> Thanks for any tips.
>
> My font server project I need it for is at
> https://github.com/AliceWonderMiscreations/FlossWoff2
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos