ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: fonts with non latin file names
Date: Wed, 30 Dec 2009 12:44:24 +0100	[thread overview]
Message-ID: <BA40F6EA-A86B-4F67-BCDE-8607A3040AB7@googlemail.com> (raw)

Hi,

i have a problem when i use font which contain non ascii letters in the file name,
e.g. the filename of the Hirganino fonts on Mac OS X are a mixture or japanese and
latin letters but only the latin part is used to cache the font information.

In the following example

\definefontsynonym[Mincho][file:ヒラギノ明朝 Pro W3][features=default] % /Library/Fonts/ヒラギノ明朝 Pro W3.otf
\definefontsynonym[Gothic][file:ヒラギノ角ゴ Pro W3][features=default] % /Library/Fonts/ヒラギノ角ゴ Pro W3.otf
\starttext
\startlines
\definedfont[Mincho]Hiragino Mincho Pro
\definedfont[Gothic]Hiragino Kaku Gothic Pro
\stoplines
\stoptext

the font information is saved at each run in the font cache under the name '-pro-w3'.

fonts           : preloading latin modern fonts
bodyfont        : 12pt rm is loaded
language        : language en is active
systems         : begin file selectfont-13 at line 3
!load otf       : loading: /Library/Fonts/ヒラギノ明朝 Pro W3.otf (hash: -pro-w3)
!load otf       : file size: 11580728
!load otf       : enhancing ...
!load otf       : saving in cache: /Library/Fonts/ヒラギノ明朝 Pro W3.otf
!load otf       : loading: /Library/Fonts/ヒラギノ角ゴ Pro W3.otf (hash: -pro-w3)
!load otf       : file size: 9362284
!load otf       : enhancing ...
!load otf       : saving in cache: /Library/Fonts/ヒラギノ角ゴ Pro W3.otf
fonts           : resetting map file list
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts           : using map file: original-ams-euler
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts           : using map file: original-public-lm
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts           : using map file: lm-math
{/Users/wolf/ctx/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{/Users/wolf/ctx/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages          : flushing realpage 1, userpage 1, subpage 1
systems         : end file selectfont-13 at line 8
system          : cont-err loaded
(/Users/wolf/ctx/tex/texmf-context/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )</Library/Fonts/ヒラギノ角ゴ Pro W3.otf></Library/Fonts/ヒラギノ明朝 Pro W3.otf></Users/wolf/ctx/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2009-12-30 11:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BA40F6EA-A86B-4F67-BCDE-8607A3040AB7@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).