[XeTeX] Typesetting Greek mathematical text using Unicode
Ross Moore
ross.moore at mq.edu.au
Wed Jan 18 21:05:51 CET 2012
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2012-01-19 at 6.41.46 AM.png
Type: image/png
Size: 204973 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120119/362b1729/attachment-0002.png>
-------------- next part --------------
However, Cambria does support
Ux0386 Greek Capital Letter Alpha with Tonos.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2012-01-19 at 6.57.14 AM.png
Type: image/png
Size: 74884 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120119/362b1729/attachment-0003.png>
-------------- next part --------------
but then the "Greek Extended" block was presumably added to Unicode
much later than the standard Greek block.
>
> Andrew
> \documentclass[a4paper]{article}
> \usepackage{xltxtra}
> \setmainfont{Cambria}
> \begin{document}
> ??????? \char"1F08
> \end{document}
>
>
>
> I get for character "1F08 Greek Capital Letter Alpha with Psili"
>
> something that looks like A' with the accent to the right, not the left.
Your font-rendering engine must be doing some kind of substitution.
>
> With Arial font, I get the correct letter.
Arial font has the correct character.
>
> Is there something wrong with the font itself, or with how XeTeX uses the font?
XeTeX just passes the character code to another engine.
>
> I have not installed any fonts, it's just the Cambria font that Word has.
>
> In Word, 'A looks correct when I insert symbol 1F08
But is it really coming from Cambria? I'd suspect not.
Or could it be that you are getting Alpha + Tonos, not with Psili ?
>
> Thank you
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