Open GoogleCodeExporter opened 9 years ago
The problem with all of the fonts listed above is that there are duplicates
found during the walk. Specifically, each of these was hinted with Visual
TrueType, and has the relevant hinting file available in the 'src'
subdirectory. The problem here is that the source format used by VTT is a fully
loadable TTF file... and naturally, the directory walk finds both files, and
can't load both into a single PDF.
Similarly, there are some '.ttf.orig' files that get picked up and should be
ignored.
The easy solution is to simply ignore anything whose path name contains '/src/'
or doesn't *end* in "ttf". This is simple enough to fix line 87:
{{{
if f[-4:] == '.ttf' and not re.search('/src/', f) and not re.search('\.hg', f)
and not check_ignore(f, ignores):
}}}
The one remaining error comes from Comfortaa, and here, the problem is in the
font itself. All three weights of that font have the Compatible Full Name
field, which is used in PDF embedding, set to "Comfortaa".
Original comment by codeman38
on 7 Oct 2011 at 7:10
Original comment by pathum...@gmail.com
on 12 Aug 2014 at 10:55
Charles, did codeman38's comment resolve the issue for you? :)
Original comment by dcrossland@google.com
on 12 Aug 2014 at 11:42
Yes it did! Thank you for the help!
Original comment by charlesb...@gmail.com
on 12 Aug 2014 at 2:05
Original issue reported on code.google.com by
charlesb...@gmail.com
on 7 Oct 2011 at 3:44Attachments: