• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Creating OTFs with custom encoding in the CFF table?

Explorer ,
Apr 11, 2003 Apr 11, 2003

Copy link to clipboard

Copied

Dear FDK developers,

how do I control the encoding in the CFF table? I would like to create an
OTF with a custom CFF encoding vector since Illustrator 10 uses this
information instead of the cmap table.

Adam
TOPICS
Open Type FDK

Views

643

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 21, 2003 Apr 21, 2003

Copy link to clipboard

Copied

LATEST
Sorry to take so long to answer this post. Life has been busy recently!

Unfortunately, MakeOTF (and the underlying libraries shared with FontLab) always set the CFF encoding to StdEncoding, and there is no way around this. We do expect the bug in Illustrator to be fixed in the next release.

The only way around this problem that I know of is to use Just VonRossum's TTX tool to dump the CFF table as XML, edit it, and then recompile it back again.

I suspect that you could also make the font as a Type 1 font with the desired encoding, use the CFFChecker tool in the FDK to convert it to a CFF font file, and then use OTFTableEditor to copy the CFF file into the target OpenType/CFF font. You will need to check that the glyph order is the same before and after, but this should be the case.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines