86 reputation
5
bio website pickle-publishing.com
location
age
visits member for 2 years, 2 months
seen Oct 28 '12 at 16:35

Oct
18
awarded  Self-Learner
Oct
18
awarded  Editor
Oct
18
revised How do I customize a LuaLaTeX cmap?
Had to add an optional argument to avoid an error after changing the hyphenation character.
Oct
11
awarded  Teacher
Oct
11
awarded  Scholar
Oct
11
accepted How do I customize a LuaLaTeX cmap?
Oct
11
answered How do I customize a LuaLaTeX cmap?
Oct
11
comment How do I customize a LuaLaTeX cmap?
I now understand the citation you gave. If I change the top-level tounicode value to 0, then the TeX code points will be used, which is what is already happening. Thus I need to alter the character-level tounicode values and keep the top-level tounicode value at 1. How to actually change the character-level tounicode values I will place in a separate answer.
Oct
8
comment How do I customize a LuaLaTeX cmap?
LuaLaTeX loses spaces too if I am using an 8-bit font via luainputenc, but not if I use the very same font as a unicode font. The only difference between the two fonts is that I used autoinst (otftotfm) and a custom encoding to create PFB and TFM files from the OTF file. Why are the spaces between words not lost if I use the straight OTF, but are lost if I use the PFB and TFM via luainputenc?
Oct
7
comment How do I customize a LuaLaTeX cmap?
Why would a document compiled under pdfLaTeX lose spaces between ﬗ's leading and trailing characters when copying or searching, but the same document compiled under LuaLaTeX not have this problem?
Oct
5
comment How do I customize a LuaLaTeX cmap?
For pdfLaTeX I modified the FreeSerif font so that the names of the Armenian ligature glyphs no longer contained underscores, and that seemed to do the trick. However, copying and pasting results in a loss of spaces before and after one ligature in normal weight, and all ligatures in bold. I can't find a workaround, and LuaLaTeX doesn't have this problem, from what I can tell. Thus I'm back to trying to disable the cmap in LuaLaTeX. So how do I set the tounicode value to 0? Or what do I do to the font to force Lua to set that value to 0?
Oct
1
comment How do I customize a LuaLaTeX cmap?
... such as a way to correct the cmap when using glyphtounicode.tex in pdfLaTeX.
Oct
1
comment How do I customize a LuaLaTeX cmap?
While waiting for an answer here, I've started working on Devanagari, only to discover that LuaLaTeX doesn't presently support the correct placement of vowels in that script. If I can't use LuaLaTeX for all the languages, I guess I'm open to a non-LuaLaTeX solution to my Armenian problem, such as a way to correct the cmap when using glyphtounicode.tex. By the way, the DB content is all in UTF-8.
Sep
30
awarded  Student
Sep
30
asked How do I customize a LuaLaTeX cmap?