ubuntu18.04's libfreetype6 2.8.1 has a bug of rendering bitmap font

Bug #1769132 reported by widon1104 on 2018-05-04
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
freetype (Ubuntu)
Undecided
Unassigned

Bug Description

ubuntu18.04's libfreetype6 version 2.8.1 has a bug of rendering bitmap font like ZFull gb, should be upgrade to version 2.9.
I checked libfreetype 2.9 fix this bug. I post this bug in:

https://savannah.nongnu.org/bugs/?53798

there are some picture I grab for this bug:

http://forum.ubuntu.org.cn/viewtopic.php?f=186&t=487304

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in freetype (Ubuntu):
status: New → Confirmed
kevin335200 (kevin335200) wrote :

That's what it seems like in firefox

widon1104 (widon1104) wrote :

This bug affects multiple users, but why ubuntu do not upgrade freetype to 2.9.x?

This is the upstream issue:

https://savannah.nongnu.org/bugs/?52613

I reported this bug about 1 year ago. The bug is introduced in

[base] Don't zero out allocated memory twice (#51816).
https://savannah.nongnu.org/bugs/?51816
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=bd28952e23bcd268a623ea5202e1cde4a92defe4

And fixed in:

Fix access to uninitalized memory (#52613).
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=e1090c608b72dcfc1899c33974acd056e120aa53

[base] Fix bitmap emboldening.
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3b88576ba0807f5203310c22d5dbfff803c4abd9

To fix this problem, there are two ways:
(1) revert changes bd28952e
(2) merge e1090c60 and 3b88576b to current code base

I suggest (1) because it's simpler.

This is the patch that can directly put to "debian/patches-freetype" folder.

The attachment "fix_bitmap_emboldening.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.