Bug 251016 - setting font to "Bitstream Vera Sans Mono" in kompare: "load glyph failed err=6 face=0x9745e0, glyph=320" "QFontEngine: Glyph neither outline nor bitmap format=0"
Summary: setting font to "Bitstream Vera Sans Mono" in kompare: "load glyph failed err...
Status: RESOLVED UPSTREAM
Alias: None
Product: kompare
Classification: Applications
Component: viewpart (show other bugs)
Version: 4.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 22:14 UTC by esigra
Modified: 2011-01-09 15:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esigra 2010-09-12 22:14:32 UTC
Version:           4.0.0 (using KDE 4.5.1) 
OS:                Linux

hen font is set to "Bitstream Vera Sans Mono" in Kompare 4.0.0 (KDE 4.5.1, Qt 4.6.3), the following 2 lines appear several times in Konsole (where Kompare was started):
load glyph failed err=6 face=0x9745e0, glyph=320
QFontEngine: Glyph neither outline nor bitmap format=0

Reproducible: Always

Steps to Reproduce:
1. Start Konsole.
2. Create a directory and cd into it.
3. Create the empty file empty.cc
4. Create the file prov.cc with some content like this:
float calculate_something(float const a, float const b, float const c) {
   return
      calculate_something(1.7, calculate_something(8.9, 19.51, 33.0), a) +
      calculate_something(c, 18.8, calculate_something(7.5, b, a));
}
5. Execute "diff -u empty.cc prov.cc|kompare -".
6. Open the settings dialog and set the font to "Bitstream Vera Sans Mono".
7. Confirm the change and close the settings dialog.
8. Make Kompare redraw the main view (if it did not already).

Actual Results:  
The 2 lines are printed to the terminal (repeated). Altering the file prov.cc indicates that the lines are printed once for every line in prov.cc that has at least 2 characters (not counting the newline). It does not seem to matter which characters (space, letter, number, symbol).
Comment 1 Toralf Förster 2010-11-30 10:16:51 UTC
same here at an almost stable Gentoo with KDE 4.4.5 and a slightly different message :

load glyph failed err=6 face=0x9db7e38, glyph=384
QFontEngine: Glyph neither outline nor bitmap format=0
Comment 2 esigra 2011-01-09 14:59:11 UTC
No longer reproducible with:
Qt: 4.7.1
KDE Development Platform: 4.5.4 (KDE 4.5.4)
Kompare: 4.0.0