Skip Menu |

This queue is for tickets about the Font-TTF CPAN distribution.

Report information
The Basics
Id: 128768
Status: rejected
Priority: 0/
Queue: Font-TTF

People
Owner: Nobody in particular
Requestors: PMPERRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: cmap handling
Hi Bob, Please see https://github.com/PhilterPaper/Perl-PDF-Builder/issues/98 concerning some discussion about asking you to change Font::TTF's handling of Cmaps (such as the find_ms method). I'd like to have your opinions on the subject. It specifically concerns issues with the Noto font family, which may or may not be generally applicable. Phil Perry
AFAICT, the request is to change the order in which find_ms() locates a cmap, specifically to prefer the PlatformID=0 ("Unicode") cmaps over the PlatformID=3 ("Microsoft") cmaps. At this point I haven't seen any reasons put forward as to why this change was being requested, and since there are lots of fonts that have Microsoft cmaps but no Unicode cmaps, I see no benefit in making the change. Additionally, application writers can, of course, write their own code to find their preferred cmap. And, in case they're not in control of all the calls to find_ms(), they can replace Font::TTF::Cmap:find_ms with their own function.