[dev-context] XeTeX and font-selection problems

Mojca Miklavec mojca.miklavec.lists at gmail.com
Tue Sep 11 18:47:49 CEST 2007

Hello Hans,

There's something weird going on during XeTeX's font selection:

fonts           : fails 1a: "lmroman12-regular:script=latn;language=dflt;+liga;
+kern;mapping=tex-text;mapping=tex-text;" (nullfont)

fonts           : succeeds 1b: "[lmroman12-regular]:script=latn;language=dflt;+
liga;+kern;mapping=tex-text;mapping=tex-text;" ("[lmroman12-regular]:script=lat

fonts           : fails 1a: "rm-lmr7" (nullfont)

fonts           : fails 1b: "[rm-lmr7]" (nullfont)

fonts           : fails 1a: "rm-lmr9" (nullfont)

fonts           : fails 1b: "[rm-lmr9]" (nullfont)

which then results in

systems         : end file smalltest at line 13
stdin -> smalltest.pdf
** WARNING ** Invalid CMap
** ERROR ** pdf_ref_obj(): passed invalid object.

Output file removed.
Output written on smalltest.pdf (1 page).
Transcript written on smalltest.log.
TeXExec | runtime: 10.645827

(Well, "errare humanum est: "I would understand that ConTeXt generates
an error from time to time, but not that it's lying about it with
"Output written on smalltest.pdf" :)

It is possible, that the new version of XeTeX solves that problem
(Jonathan promised to look into the problems you complained about some
time ago), but I still use the version from TeX Live at the moment. It
might make sense to try yet the third option without any quotes
around, and generate the error if font doen't exist. Is there any
chance to remove blank lines between font tests?

(The log file looks really ugly now, but well ...)


More information about the dev-context mailing list