Re: [NTG-context] can't set simplified chinese font (Taco Hoekwater)
![](https://secure.gravatar.com/avatar/9bd3967b65a8c314788c8b7991000b2e.jpg?s=120&d=mm&r=g)
Yes, I make sure that the Adobe Song Std.otf is in /usr/share/fonts/adobe and OSFONTDIR is director to /usr/share/fonts/adboe
![](https://secure.gravatar.com/avatar/2259586bbe3f45ed8564afe9bd7a8439.jpg?s=120&d=mm&r=g)
2011/6/10 m00nlight
Yes, I make sure that the Adobe Song Std.otf is in /usr/share/fonts/adobe and OSFONTDIR is director to /usr/share/fonts/adboe
If you use "\definefont[song][name:adobesongstd]" to define a font you can not get it. However "\definefont[song][adobesongstd]" can do it. Maybe "name" keyword is skipped as default now. -- Best regards, Li Yanrui (李延瑞)
![](https://secure.gravatar.com/avatar/2259586bbe3f45ed8564afe9bd7a8439.jpg?s=120&d=mm&r=g)
2011/6/10 Li Yanrui (李延瑞)
2011/6/10 m00nlight
: Yes, I make sure that the Adobe Song Std.otf is in /usr/share/fonts/adobe and OSFONTDIR is director to /usr/share/fonts/adboe
If you use "\definefont[song][name:adobesongstd]" to define a font you can not get it. However "\definefont[song][adobesongstd]" can do it. Maybe "name" keyword is skipped as default now.
Very strange. After using typescript to define fonts the "name" keyword can work again in \definefont macro. -- Best regards, Li Yanrui (李延瑞)
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 10.06.2011 um 13:20 schrieb Li Yanrui (李延瑞):
Very strange. After using typescript to define fonts the "name" keyword can work again in \definefont macro.
Accessing a font by name requires a entry on the database while access by file doesn’t need one. It’s possible \definefont doesn’t force an automated update while typescripts do. Wolfgang
![](https://secure.gravatar.com/avatar/2259586bbe3f45ed8564afe9bd7a8439.jpg?s=120&d=mm&r=g)
2011/6/10 Wolfgang Schuster
Am 10.06.2011 um 13:20 schrieb Li Yanrui (李延瑞):
Very strange. After using typescript to define fonts the "name" keyword can work again in \definefont macro.
Accessing a font by name requires a entry on the database while access by file doesn’t need one. It’s possible \definefont doesn’t force an automated update while typescripts do.
Thanks for the explanation. Maybe I made a mistake. Now I could not reproduct the working example which has no "name" keyword even though I cleaned texmf-cache directory. -- Best regards, Li Yanrui (李延瑞)
participants (3)
-
Li Yanrui (李延瑞)
-
m00nlight
-
Wolfgang Schuster