The FreeType Project - Bugs: bug #34156, Font metrics for DejaVu...
You are not allowed to post comments on this tracker with your current authentication level.
bug #34156: Font metrics for DejaVu Sans/LiberationMono wrong with 2.4.6
Submitter: | None | ||
Submitted: | Sat 27 Aug 2011 09:52:10 PM UTC | ||
Severity: | 3 - Normal | Item Group: | Incorrect behaviour |
Status: | Invalid | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | None |
Jump to the original submission
Wed 14 Sep 2011 12:45:15 PM UTC, comment #13: |
Roman Kagan <rkagan> |
Wed 14 Sep 2011 08:31:08 AM UTC, comment #12: Thanks. I've just downloaded version 1.07, and I can confirm the problem: The ascender difference between 1.06 and 1.07 is only two font units, but if you scale it, you get
|
Werner LEMBERG <wl> |
Wed 14 Sep 2011 07:24:36 AM UTC, comment #11: I can confirm that metrics for bold and normal fonts in https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-1.06.0.20100721.tar.gz are the same while in https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-1.07.0.tar.gz are not. |
Roman Kagan <rkagan> |
Wed 14 Sep 2011 06:46:01 AM UTC, comment #10: Oops, sorry, I didn't notice that I experimented with freetype without commit 57b6a6148d072d30d7bcd071411316369190a57c which adds tracing to FT_Request_Size.
|
Roman Kagan <rkagan> |
Tue 13 Sep 2011 06:21:50 PM UTC, comment #9: Here's a bit of new data:
|
Roman Kagan <rkagan> |
Tue 13 Sep 2011 09:20:23 AM UTC, comment #8: Thanks for the hint. With FT tracing on, I get in xterm
|
Roman Kagan <rkagan> |
Mon 12 Sep 2011 07:07:03 PM UTC, comment #7: This difference in the global bbox (in font units) shouldn't be relevant; the bytecode used within the fonts assure that the height at the specified resolution is the same. You should really try the ftview demo program of FreeType to see this.
|
Werner LEMBERG <wl> |
Mon 12 Sep 2011 05:46:41 PM UTC, comment #6: [ Sorry for hijacking the bug, I'm not totally sure this is the same problem as the original reporter had; let me know if I should better fork it into another bug ]
|
Roman Kagan <rkagan> |
Fri 09 Sep 2011 05:13:07 PM UTC, comment #5: Well, yes, xterm and gnome-terminal. This isn't a guarantee for error-free code...
|
Werner LEMBERG <wl> |
Fri 09 Sep 2011 02:27:11 PM UTC, comment #4: Well, "my terminal program" is actually xterm and gnome-terminal: two very popular terminal emulators, so quite a few users are affected...
|
Roman Kagan <rkagan> |
Fri 09 Sep 2011 01:20:57 PM UTC, comment #3: This `vertical jumping' only shows how your terminal program implements the positioning of glyphs. If you use, say, the ftview program, you don't get this effect.
|
Werner LEMBERG <wl> |
Fri 09 Sep 2011 11:29:07 AM UTC, comment #2: I'm experiencing the same problem with Liberation Mono at 10 pt at 105.6 dpi: bold glyphs are 1 pixel lower than normal ones.
|
Anonymous |
Tue 30 Aug 2011 06:16:52 AM UTC, comment #1: 75dpi using which point size? The default in xterm is 14.0pt, according to the man page.
|
Werner LEMBERG <wl> |
Sat 27 Aug 2011 09:52:10 PM UTC, original submission:
Commit b0962ac34e66052ccfee7996e5468f30d4bd5a72 says to fix metrics for fonts. But for DejaVu Sans, it produces incorrect results. At dpi=75 for instance, xterm fails to display '_'.
|
Anonymous |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 9 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-09-29 | wl | Status | Need Info | Invalid | |
Open/Closed | Open | Closed | |||
2011-09-14 | wl | Summary | Font metrix for DejaVu Sans wrong with 2.4.6 | Font metrics for DejaVu Sans/LiberationMono wrong with 2.4.6 | |
2011-09-09 | rkagan | Attached File | - | Added tabbed.png, #23960 | |
2011-09-09 | rkagan | Carbon-Copy | - | Added rkagan | |
2011-09-09 | None | Attached File | - | Added bad.png, #23958 | |
Attached File | - | Added good.png, #23959 | |||
2011-08-30 | wl | Status | None | Need Info | |
Assigned to | None | wl |
Powered by Savane 3.13-4448.
Corresponding source code
I've filed bug on liberation-fonts in Fedora's bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=738264