https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205707
Henry Hu <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180939|0 |1 is obsolete| | --- Comment #7 from Henry Hu <[email protected]> --- 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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
