[OS X TeX] Computer Modern in a Mac program

Ross Moore ross.moore at mq.edu.au
Mon Oct 29 02:09:11 CET 2012


Hi Doug,

On 29/10/2012, at 9:18 AM, Doug McKenna wrote:

> ttfdump is not very good, crashing with a segmentation fault just after 
> it tried to dump an area called the 'loca' table.  

It seems to always crash, even when you specify options about which
table ( -t ... ) or glyph ( -g ... )  you want to get the info for.

> But fortunately prior 
> to that crash there's a fair amount of information to peruse.  In 
> particular, searching the dump text for "2211" finds a mapping to an 
> index 2822 (decimal, not hex).  So I tried that in my code above and 
> voila, the sigma summation sign appeared on the screen!

Yes; there is a difference between Glyph Index, and Unicode code-point.

You could have used FontBook to find this information, 
(see attached images) but having a searchable text listing can
often be more convenient.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LModernMath-bigsum.pdf
Type: application/pdf
Size: 155862 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20121029/3e5d259b/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TGPagellaMath-bigsum.pdf
Type: application/pdf
Size: 188404 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20121029/3e5d259b/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TeXgyre-bigsum.pdf
Type: application/pdf
Size: 109133 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20121029/3e5d259b/attachment-0002.pdf>
-------------- next part --------------



> 
> So that solved my immediate problem, but now I've got one more: the 
> glyph's baseline is obviously not the same as it is in the "lmex10.tfm" 
> (or "cmex10.tfm") metrics files, where I determined that the glyph is 
> (peculiarly) nearly all below the baseline (15 times as much below as 
> above).  In Latin Modern, the baseline of the summation symbol appears to 
> be about a quarter of the way up the glyph, with 3/4s of the glyph above 
> the baseline.
> 
> In my various searches and researches, there are statements saying that 
> Latin Modern is, with a few exceptions, the same as Computer Modern.  It 
> seems I unluckily chose one of the few symbols that are an exception.
> 
> Does anyone know of an official (stable?) compendium of what (precisely) 
> these metric differences are?

Sorry. I cannot help with this.

> 
> 
> Doug McKenna


Best of luck,

	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 macostex-archives mailing list