[XeTeX] question about japanese tex file

Jonathan Kew jonathan_kew at sil.org
Mon Oct 15 15:07:06 CEST 2007


On 15 Oct 2007, at 1:35 pm, Wolfgang Schuster wrote:

> 2007/10/15, Akihiro Moriguchi <amoriguchi at y4.dion.ne.jp>:
> I'm on CentOS 5 Linux.
> I installed fonts-japanese rpm, but I don't know how these of fonts
> named under TeX system.
>
> Could you someone please tell me how japanese fonts named in TeX  
> system
> or give me links that I should study?
>
> Regards,
> Akihiro
>
>
> The list below are installed fonts from fonts-japanese.rpm
>
> this list is what I need. To only thing you need from the rpm package
> are the two TrueType fonts. You can use them with plain XeTeX in the
> following way.
>
> % you can add 'at 12 pt' or whatever size you want after the font name
> % to get the desired font size
>
> \font\mincho="sazanami-mincho"
> \font\gothic="sazanami-gothic"

I suspect these names may not be quite correct. These are the .ttf  
filenames, but XeTeX's \font command expects the actual font names  
(as seen in a typical GUI application), which are probably more like  
"Sazanami Mincho", etc.

You should be able to determine the names by running fc-list, e.g.:

	fc-list | fgrep -i sazanami

will probably list these two.

JK

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20071015/c4d46dc9/attachment.html 


More information about the XeTeX mailing list