[Pkg-fonts-devel] Bug#573125: otf-ipafont provides ttf

Hideki Yamane henrich at debian.or.jp
Sat Mar 13 12:19:31 UTC 2010


On Tue, 09 Mar 2010 23:07:58 +0900 (JST)
Atsuhito Kohda <kohda at pm.tokushima-u.ac.jp> wrote:
> (please Cc: 573125-submitter at bugs.debian.org also.  I didn't
> get your reply and noticed it on the web of Debian ;-)

 Ok, sorry for inconvenience.

> With XeTeX and/or LuaTeX, we use directly font name like
> "ipam.ttf" or "iam.otf", then how one can distinguish
> TrueType version of IPA and OpenType version of IPA?

 .otf = only PostScript data (no TrueType outlines) + TrueType data
 .ttf = TrueType data

 Some of .otf files does not contain TrueType and other .otf files does.
 It means, some .otf files equal to .ttf files, you cannot distinguish
 those with only its extensions.

> With XeTeX, OpenType fonts support vertical typesetting very well 
> but TrueType fonts don't.  On the contrary, OpenType fonts make 
> XeTeX/LuaTeX to run very slowly but TrueType fonts make them
> to run fast.
> I think it is much better if OpenType fonts can be distinguished
> by their extensions.

 Yes, we would do if there's enough reason to do so.

> Or is it common (or will it be common soon) to call OpenType fonts 
> with extension .ttf ?

 I'm sorry, I don't know whether it is common way or not.

> > ttf-japanese-{gothic,mincho} is aimed to provide Japanese font easier, not
> > just hard corded kochi font. I'm sure that I can provide otf-japanese-{gothic,mincho}
> > as well, but it's not useful.
> Why not useful?  If there are both otf-japanese-mincho for OpenType
> fonts and ttf-japanese-mincho for TrueType fonts, it is very easy 
> for a user to select OpenType and TrueType independently, I guess.  
> Is there any problem?

 Some of applications uses Kochi font directly. It is ugly and not flexible
 dependency to ttf-kochi. I want to avoid such situations by providing 
 ttf-japanese-{gothic,mincho}.ttf and modify such applications. When we would
 add changes to those applications, just replace s/kochi-gothic.ttf/ttf-japanese-gothic.ttf/
 If I would provide otf-japanese-gothic.otf, it is not meaningful so much.

> In fact, it will be best (for me) if we can install TrueType 
> and OpenType IPA at the same time but it seems not allowed...

 If I do so, fontconfig will confuse since they are same name. It is 
 reasonable because they are same font, TrueType is Ver.2 and OpenType 
 is Ver.3. It's same. 

 If you want to use that same time, you put them other than .fonts and 
 /usr/share/fonts to avoid conflicts.

> Anyway please consider renaming the fonts.

 Doesn't it cause any problems compatible with other than Debian?


 Hideki Yamane     henrich @ debian.or.jp/iijmio-mail.jp

More information about the Pkg-fonts-devel mailing list