[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-bugs
Subject:    [Bug 205707] Improve parsing of BDFs by vtfontcvt
From:       bugzilla-noreply () freebsd ! org
Date:       2016-03-28 14:18:39
Message-ID: bug-205707-8-gebumuEqOy () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205707

--- Comment #5 from Ed Maste <emaste@freebsd.org> ---
(In reply to Mikhail Teterin from comment #3)

> I don't know, if BDF-format allows different characters in the same file to
> have different heights, but with my patch the utility will be better prepared
> to handle such cases...

I agree that a cryptic error message is unacceptable.

However, in the case of just stopping upon ENDCHAR the result with a 13 row
.bdf will still be a 16x8 .fnt font that has the final 3 rows empty. This is
probably not what is desired.

I've attached a patch that might be part of the solution - reading the height
and width from the BBX entry in the font.

It doesn't fully work with koi8x13.bdf because most glyphs are 13x8 but there
is one 9x6 and one 13x9.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic