Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2015 00:12:56 +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@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205707

            Bug ID: 205707
           Summary: Improve parsing of BDFs by vtfontcvt
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: vt
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: mi@FreeBSD.org

Created attachment 164832
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D164832&action=
=3Dedit
Allow BDF-characters to have less than 16 rows

The current implementation is somewhat naive in assuming, the bitmaps will
always contain exactly 16 rows. The assumption is not verified resulting in
cryptic failure messages trying to parse a 8x13 font, for example.

The attached patch fixes this -- it parses the hex rows until it encounters=
 the
ENDCHAR-keyword or reads the 16 rows (the hard-coded constant currently in
place).

This allows me to convert the KOI8-U font (koi8x13.bdf) from the
x11-fonts/geminifonts port. Not that the result is very useful -- presumabl=
y,
because non-UTF locales aren't supported yet.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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