[Bug 205707] Improve parsing of BDFs by vtfontcvt
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 18 22:25:06 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205707
Henry Hu <henry.hu.sh at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #180939|0 |1
is obsolete| |
--- Comment #7 from Henry Hu <henry.hu.sh at gmail.com> ---
Created attachment 180943
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180943&action=edit
fix x-position handling
The previous patch has some problems in deciding the x-position of the
character.
The input line seems to have howmany(bb_w, 8) bytes. The bitmap is aligned to
the left, and occupies the left bb_w bits.
The first shift moves the bitmap to the right, now it's right aligned to bit 0.
The parse_bitmap_line() function seems to assume that the glyph occupies the
top dwidth bits. To put the character at bb_x position, the number of bits at
right is howmany(dwidth, 8) * 8 - bb_x - bb_w.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list