• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ソースコードの管理場所


Commit MetaInfo

Revisão4804880c34b6dc49b0807c64c07d9f156058d0bb (tree)
Hora2016-01-17 11:09:07
AutorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Mensagem de Log

ltj_jfont.lua: append_italic causes an error if its 'base character' does not exist in the current font

Mudança Sumário

Diff

--- a/src/ltj-jfont.lua
+++ b/src/ltj-jfont.lua
@@ -970,8 +970,10 @@ do
970970 if h then
971971 local g = node_new(id_kern)
972972 setfield(g, 'subtype', 1); set_attr(g, attr_icflag, ITALIC)
973- setfield(g, 'kern', h.characters[getchar(p)].italic)
974- node_write(g); ensure_tex_attr(attr_icflag, 0)
973+ if h.characters[getchar(p)] and h.characters[getchar(p)].italic then
974+ setfield(g, 'kern', h.characters[getchar(p)].italic)
975+ node_write(g); ensure_tex_attr(attr_icflag, 0)
976+ end
975977 end
976978 end
977979 end