[ pdftex-Bugs-592 ] TrueType Font can't be embedded
Bugs item #592, was opened at 2006-08-08 13:08
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=493&aid=592&group_id=106
Category: Fonts
Group: v1.30.0
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Michael (takrl)
Assigned to: Martin Schröder (oneiros)
Summary: TrueType Font can't be embedded
Initial Comment:
I tried to embed a TTF in my PDF document (have done so
before 100s of times, so I know the general proceedings).
However, this is a new MS font (constantia), and
pdf(e)tex doesn't seem to support it.
Excerpt of the log file:
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
entering extended mode
<snip>
[1{psfonts.map}] (ttftest.aux) )
(see the transcript file for additional
information){T1-WGL4.enc}
From what I saw so far on the net (for example, at http://partners.adobe.com/public/developer/opentype/index_os2.html ) this is the newest version of the font specification, and pdf(e)tex does only seem to support fonts using OS/2-table-versions lower than 3.
----------------------------------------------------------------------
Comment By: Michael (takrl) Date: 2006-08-22 20:15
Message: Logged In: YES user_id=3803 Thanks for the hints. These may prove useful in 'real life'... ;-) ---------------------------------------------------------------------- Comment By: Martin Schröder (oneiros) Date: 2006-08-22 18:22 Message: Logged In: YES user_id=421 Thanks, the testcase helped. It can be simplified: Put all input files in one directory and instead of a separate mapfile use \pdfmapline. Then you don't need to fiddle with paths and mapfiles. ---------------------------------------------------------------------- Comment By: Michael (takrl) Date: 2006-08-09 11:03 Message: Logged In: YES user_id=3803 Ok, I just made up a zip file containing test data and attached it here... ---------------------------------------------------------------------- Comment By: Martin Schröder (oneiros) Date: 2006-08-08 13:50 Message: Logged In: YES user_id=421 I've changed that line to if (version > 3) Michael, can you please attach a complete test case (all needed inputs) to this bug report for future testing? ---------------------------------------------------------------------- Comment By: The Thanh Han (hanthethanh) Date: 2006-08-08 13:17 Message: Logged In: YES user_id=710
From an email from Eddie Kohler:
================================================= (2) Otftotfm generates map lines that tell pdftex to embed the TTF directly (cool!). Unfortunately, pdftex does not like the Version 3.0 OS/2 table included in OpenType TTFs (boo!), so I hacked the font to change the OS/2 version number to 2.0. Alternately, one could recompile pdftex, after changing line 1026 of writettf.c to: if (version != 0x0000 && version != 0x0001 && version != 0x0002 && version != 0x0003) ================================================= Martin, can you please include this patch into the next release? Thanks. ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=592&group_id=106
participants (1)
-
noreply@sarovar.org