[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: KFontCombo problem
From:       Thomas Zander <zander () planescape ! com>
Date:       2001-12-07 9:23:48
[Download RAW message or body]


On Thu, Dec 06, 2001 at 12:31:53PM -0800, Waldo Bastian wrote:
> On Thursday 06 December 2001 04:43 am, Marc Mutz wrote:
> > On Thursday 06 December 2001 09:27, Thomas Zander wrote:
> > <snip>
> >
> > > Is this just in the dialog? Or also in the usage of the fonts
> > > elsewere? If the former; then the dialog can be fixed. Otherwise QT
> > > needs to be fixed.
> >
> > <snip>
> >
> > The same problem exists with KFontChooser. It currently breaks KMail's
> > profile management w.r.t. fonts. I tried to change matching to use
> > startsWith() instead of operator==, but that has other issues
> > ("Helvetica" then selects "Helvetica Narrow" instead of one of the
> > "Helvetica [vendor]" entries). I think one should ignore everything
> > that's inside [] and at the end, but only if the asked-for font doesn't
> > contain ['s. Don't know which funnily-named fonts that would break
> > then, though.
> 
> It seems on kfm-devel there is also a discussion around this topic for the css 
> font-matching.
> 
> One remaining problem, if the configured value is "fixed" and the list 
> contains "fixed [abc]" and "fixed [def]" it might show "fixed [abc]" as the 
> selected font but will that correspond to the foundry actually used by Qt? 
> Saving those settings will then save it as "fixed [abc]" which might then 
> result in another foundry being used without the user actually changing 
> anything.

I think that checking with QFontInfo will be the solve here.

-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic