Questions tagged [compact-font-format]
7 questions
3
votes
2 answers
How are encodings and charset tables organized in CFF font file?
The CFF specification Chapter 11 to Chapter 13 gives a rough description of what encodings and charset data are organized in a file. CFF Specification. Here are some questions.
Considering the possible existence of multi-font file, and that…

王凯越 Kaiyue Wang
- 654
- 2
- 6
- 13
3
votes
1 answer
What's the use of "Private DICT Data" in Adobes CFF format
As described in Adobes "Compact Font Format" (CFF) specification ( http://partners.adobe.com/public/developer/en/font/5176.CFF.pdf ), theres a "private" font dictionary in CFF compressed postscript fonts (e.g. OpenType fonts with TrueType…

ToFi
- 1,167
- 17
- 29
2
votes
4 answers
Convert CFF fonts into OpenType fonts programmatically
Does anyone have any pointers where I can find extra information on how to create an opentype wrapper around a CFF font?
Currently I have a parser for CFF files so I can get all sorts of information out of it (cmap, glyph names, widths, names etc…

Ritsaert Hornstra
- 5,013
- 1
- 33
- 51
1
vote
1 answer
How to parse CFF's Top DICT INDEX data entry?
I'm parsing CFF data. I've gotten up to the point of "Top DICT INDEX" entry. I've successfully parsed version data and "Name INDEX" however I'm struggling with parsing of the next entry "Top DICT INDEX".
According to Adobe technical note #5176…

Eimantas
- 48,927
- 17
- 132
- 168
1
vote
1 answer
CFF(Compact Font Format) Library with undoing subroutinization?
For PDF font embedding purposes, I have been tasked with removing glyph outline data for unused glyphs from a CFF OpenType file to reduce its size.
The problem is that unlike TTF, CFF "compresses" into subroutines its glyph outline data and creates…

legokangpalla
- 495
- 5
- 20
0
votes
1 answer
Which offsets does the "offSize" field in a CFF font header apply to?
The "Compact Font Format Specification" explains (on page 13) that the offSize field in the header "specifies the size of all offsets (0) relative to the start of CFF data." Various offsets are mentioned in the document, but most (all?) of them…

jochen
- 3,728
- 2
- 39
- 49
0
votes
0 answers
Which CFF font fields make a visual difference?
I'm writing a converter for CFF (PostScript Type 2) fonts, and I'm wondering which fields the converter can remove without making any visual difference when the font is used in a PDF file.
I think these fields can be removed or…

pts
- 80,836
- 20
- 110
- 183