On Thursday 29 July 2004 23:59, Pedro Lopez-Cabanillas wrote:
> Bizarre workaround: commenting out the line notepixmapfactory.cpp:2820, I
> can get previews and printing works.  The line says "italic = true;" in
> NotePixmapFactory::getTextFont()

This is my last message about this issue here, because it is clearly a big 
off-topic now that I've found a way to reproduce the same behavior in other 
KDE programs too (KWord and KSpread). When I choose the font "Bitstream Vera 
Serif" in italics (oblique) for some text, these programs stall at the print 
preview function, exactly like Rosegarden does.  The font family name "Serif" 
is aliased to this Bitstream real typeface in Mandrake 9.2, so choosing the  
font family name "serif" and italics is a little risk. Programs from OO.org, 
as Writer, refuse to show/print the italic version of Vera Serif at all.

The other Vera typefaces, Monospace and Sans, work very well in italic, bold 
and plain formats, in any program I tried for printer or screen applications. 
The Serif variation doesn't have an explicit italic/oblique version as a  
"ttf" file, but it can be generated "on the fly" by freetype/fontconfig. At  
least for the screen. I wonder if this is the point of failure.

Anyway, I have found a better workaround for my problem; tweak the files 
/etc/fonts/local.conf or even ~/.fonts.conf to avoid the failing font. A 
suitable font for "Serif" can be for instance "Nimbus Roman", another good 
looking font also available in Mandrake ("urw-fonts" package). The tweak 
consists only in a few lines:

<fontconfig>
...
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Nimbus Roman No9 L</family>
                </prefer>
        </alias>
....
</fontconfig>

Regards,
Pedro



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to