ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* fonts with non latin file names
@ 2009-12-30 11:44 Wolfgang Schuster
  0 siblings, 0 replies; only message in thread
From: Wolfgang Schuster @ 2009-12-30 11:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-30 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30 11:44 fonts with non latin file names Wolfgang Schuster

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).