← Back to team overview

registry team mailing list archive

[Bug 308539] Re: /usr/bin/defoma-hints broken due to deleted dependency

 

Related problem in 10.04. In 9.10, the defoma-hint would not run at all. The dependency listed here was the problem. In 10.04, the dependency was fixed somehow, but it still does not create a hint file from ttf fonts (that is all I have tried) installed 'loose' (not packaged). The fix is a 1 line edit to a script which is detailed here:
http://us.generation-nt.com/answer/bug-231616-defoma-apply-patch-please-help-168894811.html

I applied this patch and was able to generate a hint file for a couple
of esoteric fonts we are using.   (it is from 2004?!?!)

/usr/share/defoma/libperl-hint.pl.orig 2004-08-21 13:29:31.000000000 -0400
+++ /usr/share/defoma/libperl-hint.pl 2004-08-31 13:13:55.000000000 -0400
@@ -39,7 +39,7 @@
foreach my $f (defoma_font_get_fonts($c)) {
my @h = defoma_font_get_hints($c, $f);
next unless (@h);
- while ($h[0] !~ /^--/) {
+ while (@h && $h[0] !~ /^--/) {
shift(@h);
}
push(@hints, @h);

-- 
/usr/bin/defoma-hints broken due to deleted dependency
https://bugs.launchpad.net/bugs/308539
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.