rizwan3d / noto

Automatically exported from code.google.com/p/noto
1 stars 0 forks source link

CJK fonts is this family do not work with XeTeX #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling a TeX file using Noto Sans S Chinese, I get the following 
warnings:

** WARNING ** Failed to load ToUnicode CMap for font "NotoSansHans-Regular"
** WARNING ** Glyph for CID 18367 missing in font
"/path/to/NotoSansHans-Regular.otf"
(and many similar lines)

The result PDF document is a mess.

Original issue reported on code.google.com by tagao...@gmail.com on 18 Jul 2014 at 12:37

GoogleCodeExporter commented 9 years ago
Behdad and Jonathan, any idea why that may be the case?

Original comment by roozbeh@google.com on 18 Jul 2014 at 3:43

GoogleCodeExporter commented 9 years ago
This relates to the xdvipdfmx driver that generates the PDF, but it's a very 
long time since I looked at that code (and I never knew much about the 
font-embedding stuff anyway). The authors of dvipdfmx 
(http://project.ktug.org/dvipdfmx/) might be able to advise, if they're 
currently active and available.

Original comment by j...@mozilla.com on 18 Jul 2014 at 8:24

GoogleCodeExporter commented 9 years ago
FWIW, I notice that FontForge also seems to have trouble reading those fonts 
("unable to find a cidmap"). This sounds like it may be related ...

Original comment by j...@mozilla.com on 18 Jul 2014 at 8:41

GoogleCodeExporter commented 9 years ago
No ideas other than "someone needs to investigate".

Original comment by behdad@google.com on 20 Jul 2014 at 6:13

GoogleCodeExporter commented 9 years ago
Jiang Jiang and Akira Kakuto have been looking into this; see the xetex mailing 
list thread starting with http://tug.org/pipermail/xetex/2014-July/025385.html.

Original comment by jfkth...@gmail.com on 20 Jul 2014 at 7:04

GoogleCodeExporter commented 9 years ago
Thanks everybody. From what Jonathan forwarded, not a font bug then.

Original comment by roozbeh@google.com on 20 Jul 2014 at 7:13