0

I am unsure if this is in the correct community.

I'm writing a Scala wrapper to the OpenType font format, and while trying to find an encoding ID for the CMAP table that maps an array or set of characters, I see mapping 1 or 2 characters to a glyph ID but not a sequence of characters to a glyph like Google's material icon font can.

Is there an encoding ID for the CMAP table in the OpenType specification that allows me to map a sequence of characters to a glyph ID? Can I emulate this using a UVS encoding type? UTF-32 is preferred.

0

Turns out this data lies in the GSUB table. This is so that individual glyphs can still be rendered, while providing the opportunity for glyph combination.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.