[luatex] font feature with new luaotfload
Hironori KITAGAWA
h_kitagawa2001 at yahoo.co.jp
Fri May 10 12:43:58 CEST 2013
Hello,
I tried the following source with TeX Live 2013 pretest.
---
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec[RawFeature=+pwid]{KozMinPr6N-Regular}
A…B
\fontspec[RawFeature=+fwid]{KozMinPr6N-Regular}
A…B
\end{document}
---
But I got unintentional result from LuaLaTeX with luaotfload v2.2.
In concrete terms, '…' in the second line should be replaced by
its fullwidth variants CID #668 (as in koz-xetex.pdf),
but it doesn't so ('…' is not replaced) in koz-luatex.pdf.
The following patch solve the problem for the time being
(maybe this isn't a good solution):
--- a/luaotfload-merged.lua 2013-05-07 07:01:04.000000000 +0900
+++ b/luaotfload-merged.lua 2013-05-09 16:56:43.081995799 +0900
@@ -5556,6 +5556,7 @@
if not unicode or unicode==-1 or unicode>=criterium then
unicode=cidunicodes[index]
end
+ if unicode and descriptions[unicode] then unicode=-1 end
if not unicode or unicode==-1 or unicode>=criterium then
if not name then
name=format("u%06X",private)
Regards
Hironori KITAGAWA <h_kitagawa2001 at yahoo.co.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koz.tar.gz
Type: application/octet-stream
Size: 9148 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130510/c4ae70ef/attachment.obj>
More information about the luatex
mailing list