[XeTeX] Typesetting Greek mathematical text using Unicode

d fulano donfulanito at hotmail.com
Wed Jan 18 22:52:16 CET 2012


Many thanks for these tests. This is what I get on my system (attached).  Some investigation summary:- It does seem to be a Cambria font problem.Does not affect other fonts I tried! Eg other MS fonts.- It affects too the other Greek Capital Letters A, E, I, Y etc, in the same way. The lowercase are still all OK. (Unicode ranges 1F08 - 1F70). Basically, the ancient greek accents show up on the right of the letter, instead on the left !- Problem appears only on Cambria Regular.  Italic, Bold, show up correctly.  Actually, I 'solved' the problem by switching to \emph italic font. - I can understand there being missing characters or blanks if a symbol does not exist in a font.. But producing an incorrect Symbol -- this is odd?  What could cause that? It seems that the font is being "composed" by putting the two together, but the accent ends at the wrong place. - The question is, is the problem the way Xetex is using this font, or a problem with the font itself?? - Because if I open the font using character map or I use word, the letter is OK , all is fine..  I attach what it looks like... Maybe someone more technical could find out more.  The font I have is whatever comes with the PC. I have office 2007 on Windows 7 64bit...  Latest Miktex 2.09 uptodate. Font is Cambria.ttc  Properties is Cambria, Version 5.96, OpenType / truetype. Copyright Microsoft corporation 2009. Authors: Monotype Imaging and Tiro Typeworks.  Rally Strange...Thanks  
 From: ross.moore at mq.edu.au
Date: Thu, 19 Jan 2012 07:22:56 +1100
To: xetex at tug.org
Subject: Re: [XeTeX] Typesetting Greek mathematical text using Unicode

 
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:
 

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)
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
------------------------------------------------------------------------
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20120118/375fd5fd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output_tex.jpg
Type: image/jpeg
Size: 18910 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120118/375fd5fd/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output_ms.jpg
Type: image/jpeg
Size: 15508 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120118/375fd5fd/attachment-0003.jpg>


More information about the XeTeX mailing list