Fri 30 Apr 2010 07:06:11 PM UTC, comment #5:
http://lundestudio.com/CJKV2E/cjkv2e-pp448-450.pdf is an example of a pdf with embedded fonts which came from a SFNT/cff file.
MULOG=f mupdf cjkv2e-pp448-450.pdf
reports blocks like:
font: load simple font (79 0 R) ptr=0x86759c8 {
font: basefont0 XNORUC+MyriadPro-SemiboldCond
font: basefont1 XNORUC+MyriadPro-SemiboldCond
font: load fontdescriptor {
font: fontname 'XNORUC+MyriadPro-SemiboldCond'
font: bbox [-145 -250 970 948]
font: flags 32
font: load embedded font
font: }
font: ft font format CFF
font: ft name 'XNORUC+MyriadPro-SemiboldCond' 'Regular'
font: ft bbox [-145 -250 970 948]
font: encode type1/cff by strings
font: tounicode embedded cmap
font: load embedded cmap (53 0 R) {
font: }
font: }
If instead one looks at a pdf which embeds fonts which were type1 (this example, http://arxiv.org/pdf/0910.5226.pdf uses the type1 CM fonts), then the prefix is elided in the report:
font: load simple font (53 0 R) ptr=0x86f4600 {
font: basefont0 TELHPV+CMSY10
font: basefont1 TELHPV+CMSY10
font: load fontdescriptor {
font: fontname 'TELHPV+CMSY10'
font: bbox [0 -960 853 750]
font: flags 4
font: load embedded font
font: }
font: ft font format CFF
font: ft name 'CMSY10' 'Regular'
font: ft bbox [0 -960 853 750]
font: encode type1/cff by strings
font: tounicode strings
font: }
Note the difference in the »ft name« field.
I also looked at a file generated by ’zilla (using cairo git master) and DejaVu Serif, an SFNT/glyf font. Cairo embeds it as a CID with /Identity-H. No »ft name« field shows up at all:
font: load cid font (35 0 R) ptr=0x869fb88 {
font: basefont HVRYAW+DejaVuSerif
font: collection Adobe-Identity
font: load fontdescriptor {
font: fontname 'HVRYAW+DejaVuSerif'
font: bbox [-769 -346 1679 1242]
font: flags 4
font: load embedded font
font: }
font: ft font format TrueType
font: ft bbox [-769 -346 1679 1242]
font: encoding /Identity-H
font: wmode 0
font: tounicode embedded cmap
font: load embedded cmap (32 0 R) {
font: }
font: }
I’ll attach the cairo file, a printout of google’s 2010 April Fools homepage, Google-Topeka.pdf.
(file #20380)
|