Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 14:18:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205707] Improve parsing of BDFs by vtfontcvt
Message-ID:  <bug-205707-8-gebumuEqOy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205707-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205707-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205707-8-gebumuEqOy>