Created attachment 39912 [details] Screenshot ith broken text dislayed Presentations using the vegur font have (actually the default font for our own branding / artwork) display problems with special characters. While display in edit mode is quite ok, text completely breaks in slideshow mode, if hardware acceleration is enabled. So this might be cairo-related. Vegur font can be downloaded from http://www.fontspace.com/arro/vegur Screenshot has been taken on OpenSuse 11.3, KDE Desktop (EeePC 901), build from git as of 2010-10-29 (same problem is visible in LibO beta2 download version)
Created attachment 39913 [details] Prsentation using vegur and special chars
Confirmed. Taking over.
Ok, two problems here. First one - Vegur totally messes up freetype hinting. Putting this into your ~/.fontconfig helps with the borked 'g' and 'p' glyphs: <!-- Vegur totally fucks up cairo rendering when hinted --> <match target="font"> <test name="family" compare="eq"><string>Vegur</string></test> <edit name="hintstyle" mode="assign" ><const>hintnone</const></edit> </match> Second problem: in slideshow mode, apparently glyph fallbacks are not handled correctly, have to have a much deeper look there.
Caolan, some cairo/freetype guru your side that may want to have a look into Vegur here?
cairo-1.8.10-3.1.x86_64 and libfreetype6-2.3.12-7.2.1.x86_64 FWIW (opensuse 11.3)
OutputDevice::GetSysTextLayoutData is unfortunately rather suboptimal in the glyph fallback case
Yap. Working on an improvement.
Created attachment 40666 [details] a rough and ready approach
Created attachment 40667 [details] a rough and ready approach
Created attachment 40682 [details] Slightly different angle of attack Using font handles as calculated inside vcl, plus some cleanup to glyph rendering code in cairocanvas. Downside: exposes sallayout.hxx outside vcl. Could be made slightly better for post-3-3 ...
@caolan: oh doh - you shouldn't call it rough, it's better than my approach. Let's go for that one.
Fixed with commit 1fada0bf264d7c5e37087c31bbfe11955ed5b782. Kudos to Caolan for the patch.
*** Bug 32438 has been marked as a duplicate of this bug. ***
*** Bug 32501 has been marked as a duplicate of this bug. ***
Verified with Cor doc on the other issue - Closed - Sophie
*** Bug 32517 has been marked as a duplicate of this bug. ***
This is an Impress issue, therefore changed 'Component' field accordingly and abbreviated Summary ('Impress:' is no longer necessary due to Component field).