[luatex] Adobe-Identity-0 fonts in LuaTeX
Kazuki Maeda
kmaeda at amp.i.kyoto-u.ac.jp
Sun Oct 28 12:21:30 CET 2012
Hello.
I tried the following code with context. The result was same: no glyphs were displayed.
---
\usemodule[simplefonts]
\setmainfont[kentengeneric]
\starttext
\char"2022\char"25B2\char"25B3\char"25C9
\char"25CB\char"25CE\char"25CF\char"25E6
\char"FE45\char"FE46
\stoptext
---
I also tried to output all information of KentenGeneric.otf provided by fontloader.
---
\documentclass{article}
\directlua{
require('lualibs-table')
local font = fontloader.open('/usr/share/fonts/KentenGeneric.otf')
local metrics = fontloader.to_table(font)
fontloader.close(font)
table.tofile('kenten.lua', metrics)
}
\begin{document}
\end{document}
---
I attach the result 'kenten.lua'.
It seems that kenten.dat does not include any map data between CID and Unicode.
By the way, test-xetex.pdf looks fine, but I found a problem.
I tried to copy the text in the PDF, then I got:
"<U+0002><U+0003><U+0004><U+0005><U+0006><U+0007><U+0008> <U+000B>".
Best regards,
Kazuki Maeda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kenten.lua
Type: application/octet-stream
Size: 14831 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20121028/0beeacc2/attachment-0001.obj>
More information about the luatex
mailing list