ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: Re: some mac fonts do not work correctly
Date: Wed, 24 Jul 2019 11:47:07 +0200	[thread overview]
Message-ID: <bhlxzlz37tx4.dlg@nililand.de> (raw)
In-Reply-To: <c30b3fd6-7ae9-a9b7-aa4a-2cb9613efa14@xs4all.nl>

Am Wed, 24 Jul 2019 11:04:17 +0200 schrieb Hans Hagen:

>> we got a bug report that some (proprietary) mac fonts don't work
>> correctly. The reason seem to be that the OpenType cmap format used
>> by these fonts isn't supported by the fontloader.
>> 
>> The necessary cmap formats are "platform 0 (Unicode), encoding 1
>> (Unicode 1.1(?)), format 12" and maybe as a fallback "platform 1
>> (Mac), encoding 0 (Roman), format 0".
>> 
>> A test would be
>> 
>> \starttext
>> \font\oddfont="Big Caslon Medium" \oddfont A
>> \stoptext

> what filename ... when i copy ACaslonPro-Regular from a (by now obsolete 
> and old) mac it seems to work

The bug report mentions these filenames:

Heiti TC Light     [STHeiti Light.ttc](0)   壹貳參肆伍陸柒捌玖拾
Heiti SC Light     [STHeiti Light.ttc](1)   汉体书写信息技术标准相容
Heiti TC Medium    [STHeiti Medium.ttc](0)  壹貳參肆伍陸柒捌玖拾
Heiti SC Medium    [STHeiti Medium.ttc](1)  汉体书写信息技术标准相容

Big Caslon Medium  [BigCaslon.ttf]          ABCDEFGHIJKLM
GB18030 Bitmap     [NISC18030.ttf]          汉体书写信息技术标准相容
Webdings           [Webdings.ttf]           
Wingdings          [Wingdings.ttf]          
Wingdings 2        [Wingdings 2.ttf]        
Wingdings 3        [Wingdings 3.ttf]        

LiHei Pro          [LiHeiPro.ttf]           壹貳參肆伍陸柒捌玖拾
LiSong Pro         [LiSongPro.ttf]          壹貳參肆伍陸柒捌玖拾
STFangsong         [STFANGSO.ttf]           汉体书写信息技术标准相容
STXihei            [STXIHEI.ttf]            汉体书写信息技术标准相容
STHeiti            [STHEITI.ttf]            汉体书写信息技术标准相容
Yuanti SC Light    [Yuanti.ttc](4)          汉体书写信息技术标准相容
Yuanti SC          [Yuanti.ttc](0)          汉体书写信息技术标准相容
Yuanti SC Bold     [Yuanti.ttc](2)  

Imho Marcel only checked the lua and the cmap for Big Caslon. 

https://github.com/u-fischer/luaotfload/files/3423044/ttx-BigCaslon.txt
https://github.com/u-fischer/luaotfload/files/3422873/bigcaslon.lua.zip

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-07-24  9:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-23 18:49 Ulrike Fischer
2019-07-24  9:04 ` Hans Hagen
2019-07-24  9:47   ` Ulrike Fischer [this message]
2019-07-24 10:03     ` Hans Hagen
2019-07-25 12:57       ` Ulrike Fischer
2019-07-25 13:32         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bhlxzlz37tx4.dlg@nililand.de \
    --to=news3@nililand.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).