Skip Menu |

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

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

Owner: Nobody in particular
Requestors: mkouklis [...]

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

Subject: Font::TTF::Coverage divide by zero error, if font has unknown blocks
Date: Fri, 3 May 2013 00:37:25 -0700 (PDT)
To: bug-Font-TTF [...]
From: Chief Mike Kouklis <mkouklis [...]>
Download (untitled) / with headers
text/plain 861b
Fedora-kernel 3.8.9-200.fc18_x86_64 perl -v = v5.16.3 built for x86_64-Linux-thread-multi Symbola -version 7.08, April-2013 $ ttfcoverage /usr/share/fonts/gdouros-symbola/Symbola.ttf Alchemical Symbols: 128/128 (100.00%) ... Miscellaneous Technical: 256/256 (100.00%) Musical Symbols: 220/256 (85.94%) Illegal division by zero at /usr/bin/ttfcoverage line 42. Error is likely due to this font containing some blocks newer than were assigned in Unicode 6.0.0 and it also assigns some characters to reserved code points & UCN proposals for Unicode 7.* Please add an escape subroutine(s) to allow for both the following errors; "less than 0.00%" and ">100%" if { Unicode block not found } then { block-coverage = "unknown-&#percent;" } else { Unicode block-size is less than code points in font } then { block-coverage = "&#gt;100&#percent;" }
Download (untitled) / with headers
text/plain 431b
Show quoted text
> Illegal division by zero at /usr/bin/ttfcoverage line 42.
ttfcoverage is not Font::TTF::Coverage. They are different files and ttfcoverage is not officially supported as part of any package. Maybe it should be part of Font::TTF::Scripts, but it currently isn't. I'll fix this if and when I integrate the program into that package. It's clear that this program has value to people (even though it was somewhat thrown together).

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to