Summary: | colored text gets truncated with "Luxi Mono" font | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Gabe Yoder <gabe.yoder> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
colored / noncolored comparison
hightlighted colored text |
Description
Gabe Yoder
2008-02-22 04:11:48 UTC
Hello, Can you attach a screenshot showing the bug please? Can I also ask which font you are using and whether the bug still appears when using different fonts? I'm not sure why colored text would be wider. Perhaps it is the difference between bold and non-bold text which causes the problem? Created attachment 23672 [details]
colored / noncolored comparison
This image shows the clipped text in the top window, and the unclipped
equivalent text in the bottom window.
Created attachment 23673 [details]
hightlighted colored text
Here's another variation in the bug. This is the same window as the previous
snapshot, but I double clicked on my bash prompt and this is what happened to
the text.
The font I am using is 10 point Monospace (the font is actually named Monospace). The bold vs. non-bold seems to be related to the problem. I went into the edit profile dialog and changed the font from regular to bold. The colored text was the same size in both, but after changing to bold, it wasn't being clipped anymore. Can you post the output of running "fc-match Monospace" in a terminal? Here's what I got: luximr.ttf: "Luxi Mono" "Regular" I can reproduce this using the Luxi Mono font ('Monospace' isn't a real font, it supposedly maps to the system fixed-width font) The reason is that Luxi Mono isn't really a monospace font and some characters are indeed wider than others. If you open the font list inside Konsole (Settings -> Edit Current Profile -> Appearance -> Edit Font...) you can see that "Luxi Mono" is not listed because it doesn't meet this criteria. Konsole is only designed to work with actual monospace fonts - any shown in that list should work. What distribution are you using? It is unusual for the "Monospace" font to map to something like Luxi. One reason being that Luxi is not shipped out of the box on Debian/Ubuntu etc. for some licensing reason. I have a custom system that is based on LFS. Apparently I needed to rerun fc-cache since most of my fonts were not appearing in any font dialog (whether for konsole or under system settings). "Monospace" was the only font that appeared under the category of monospaced fonts. Now that I can select a real monospace font, everything seems to be working fine. So I guess this was more of a PEBKAC than a real bug. |