[NTG-pdftex] pdftex - Duplicated codes ligatures inglyphtounicode.tex

Ross Moore ross.moore at mq.edu.au
Sun Jun 26 01:08:32 CEST 2016


Hi Karl, Pali and others

On Jun 26, 2016, at 8:34 AM, Karl Berry <karl at freefriends.org<mailto:karl at freefriends.org>> wrote:

4) For the ligatures, I can't remember for sure, but I suspect that the
entries predate the existence of the ligatures in Unicode.

Yes. I think this is most likely true.

It is not
clear to me that the change is desirable, because the "decomposition"
into two f characters is what is actually desired for searches, etc.
If you can convince Eddie, fine; it's up to him.  A practical usage
case is probably needed for that.  The current entries have been around
a long, long, time and should not be changed merely to "follow" Unicode.

Agreed.
I was looking at this kind of thing more than 10 years ago, and very few fonts
supported the ligatures. So copy/paste would result in missing characters.


5) Regarding your previous message about Delta(greek).
glyphtounicode.tex generally follows Adobe's original glyphlist.txt
 http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt
which has the same Delta + Deltagreek definitions.  Which are more
useful in practice.  I can't imagine there will or should be any changes
there.

This is indeed more useful with mathematical content.
However, if the document is about Greek language, or written
substantially in Greek, then the proper language code is what
would be required.
A customised CMAP file is then a good way to go — see my previous response.


5b) I note that glyphlist.txt does have the FB0* for the f-ligatures.
I don't know if we intentionally diverged from that for TeX.

6) If you want to make changes for your own purposes, you can just make
your own version of the file.

Or create a package that loads a customized CMAP with your
particular fonts.
You do *not* want to use  \pdfglyphtounicode  with glyph names
that clash with those that are otherwise loaded automatically,
else you could be killing the correct mapping for other fonts.


Hope this helps,
Karl


Cheers

Ross


Dr Ross Moore

Mathematics Dept | Level 2, S2.638 AHH
Macquarie University, NSW 2109, Australia

T: +61 2 9850 8955  |  F: +61 2 9850 8114<tel:%2B61%202%209850%209695>
M:+61 407 288 255<tel:%2B61%20409%20125%20670>  |  E: ross.moore at mq.edu.au<mailto:rick.minter at mq.edu.au>

http://www.maths.mq.edu.au<http://mq.edu.au/>


[cid:image001.png at 01D030BE.D37A46F0]<http://mq.edu.au/>


CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.<http://mq.edu.au/>

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.<http://mq.edu.au/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-pdftex/attachments/20160625/ef39f6ab/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <http://mailman.ntg.nl/pipermail/ntg-pdftex/attachments/20160625/ef39f6ab/attachment-0001.png>


More information about the ntg-pdftex mailing list