[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: QFont question
From: Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date: 2006-03-15 14:46:36
Message-ID: 200603151546.42405.stefan.nikolaus () kdemail ! net
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 15 March 2006 15:35, Thorsten Zachmann wrote:
> > On Wednesday 15 March 2006 14:29, Thorsten Zachmann wrote:
> > > How to find out the name (the one shown in the font selection dialog)
> > > of a font when I have a QFont?
> >
> > As the tooltip speaks of family, QFont::family() is a good candidate. And
> > I think, OpenDocument expects the family name.
>
> This is not what is displayed in the dialog. :-( I allready tried it.
>
> > QFont::rawName() is not portable, so guess it's not used in OpenDocument.
Which OpenDocument attribute do you wnat to fill?
There is style:font-name, which refers to separate defined font
(style:font-face), consisting of font-family, font-size, etc. If I got this
right.
And there's fo:font-family, which has to be filled with QFont::family().
Bye,
Stefan
[Attachment #5 (application/pgp-signature)]
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic