[XeTeX] Typesetting Greek mathematical text using Unicode
Ross Moore
ross.moore at mq.edu.au
Wed Jan 18 21:22:56 CET 2012
On 19/01/2012, at 7:05 AM, Ross Moore wrote:
> Hello D. and Andrew,
>
> On 19/01/2012, at 3:06 AM, Andrew Moschou wrote:
>
>> I opened Cambria in a font editor, and it looks fine. I also opened Cambria in the character map, and it displayed it wrong just as you describe. No idea where the problem lies...
>
> When I look into it on a Mac, then Cambria does not support that
> code-point, at least not as a single pre-composed glyph.
> (see image, where Cambria does not appear in the list of fonts)
Furthermore, when I typeset your example, modified slightly to
>> \documentclass[a4paper]{article}
>> \usepackage{xltxtra}
>> \setmainfont{Cambria}
>> \begin{document}{\tracingall
>> Ἀριθμὸς \char"1F08
>> }\end{document}
then I get messages:
>>> {into \tracingonline=1}
>>> {the letter Ἀ}
>>> {horizontal mode: the letter Ἀ}
>>> Missing character: There is no Ἀ in font Cambria/ICU:script=latn;language=DFL
>>> T;!
>>> Missing character: There is no ὸ in font Cambria/ICU:script=latn;language=DFL
>>> T;!
>>> {blank space }
>>> {\char}
>>> Missing character: There is no Ἀ in font Cambria/ICU:script=latn;language=DFL
>>> T;!
>>> {end-group character }}
See attached image as output:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 13937 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120119/89edb75d/attachment-0002.jpeg>
-------------- next part --------------
Perhaps my 2006 version of Cambria is older than yours?
Version Version 1.00
Location /Users/rossmoor/Library/Fonts/CAMBRIA.TTC
Unique name Microsoft: Cambria: 2006
Manufacturer Microsoft Corporation
Designer Agfa Monotype Corporation
Copyright © 2006 Microsoft Corporation. All Rights Reserved.
It works fine, using \setmainfont{Linux Libertine O}
(see other image)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 19191 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120119/89edb75d/attachment-0003.jpeg>
-------------- next part --------------
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the XeTeX
mailing list