Hi everybody,

I try to use a TrueTypeFont https://fonts.google.com/specimen/Playfair+Display  
with its embedded "Upper Case Numbers".

The font includes "normal" numbers from Unicode +0030 until +0039.

Additionally there are Numbers which can be used in InDesign as upper case. 
They are bigger and have another appearance.

When I open the font using Fontforge they are visible. But they have the same 
Unicode, but another hex- (0x1011a-0x10123) and int-Value (65818 until 65827).

In an PDF-Example from InDesign the text "29" with this glyphs has the 
following PDF-Code:

BT
/C2_0 1 Tf
0 Tw 42.5815 0 0 42.5815 865.3147 1343.9668 Tm
<031C0323>Tj
ET

031C means 2
0323 means 9

The Font has following codes:

12 dict begin
begincmap
/CIDSystemInfo
<< /Registry (Adobe)
/Ordering (UCS) /Supplement 0 >> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000> <FFFF>
endcodespacerange
2 beginbfchar
<031C> <0032>
<0323> <0039>
endbfchar
endcmap CMapName currentdict /CMap defineresource pop end end

endstream
endobj


How can I do this with PDF-Box?

Thanks in advance
Gerhard Hiller
mailto:[email protected] | Phone: +49 711 72007 4163 | Mobile: +49 172 718 
48 46
- -
[MSH-Logo]
MSH Medien System Haus GmbH & Co. KG, Stuttgart, HRA 9274 Stuttgart
P.h.G.: MSH Medien System Haus Verwaltungsges. MbH, Stuttgart, HRB 4443 
Stuttgart

Reply via email to