Fonts seem to be a tricky thing to handle. I haven't looked yet,
but anybody know how Qt handles this on multiple platforms?
What I need to do is
1) get list of available font names (this seems to already be done by
the TFont property editor used at the Object Inspector)
Yes. This can be
On Thu, 14 Dec 2006 10:28:01 +0200
George Birbilis [EMAIL PROTECTED] wrote:
Fonts seem to be a tricky thing to handle. I haven't looked yet,
but anybody know how Qt handles this on multiple platforms?
What I need to do is
1) get list of available font names (this seems to already be
1) get list of available font names (this seems to
already be done
by the TFont property editor used at the Object Inspector)
Yes. This can be quite slow.
I'll try to do it once at creation, instead of at each
update (I hope
the Object Inspector doesn't recreate the property
Graeme Geldenhuys wrote:
TGfxFontClass = (fcSerif, fcSansSerif, fcTypewriter, fcDingbats);
I think a higher abstraction will be better. Something like a list of
names that map to (font name, size, style, charset) per widgetset. We
currently have one: default. But it would be nice if the user
On Thu, 14 Dec 2006 12:57:27 +0200
George Birbilis [EMAIL PROTECTED] wrote:
1) get list of available font names (this seems to
already be done
by the TFont property editor used at the Object Inspector)
Yes. This can be quite slow.
I'll try to do it once at creation, instead
On Thu, 14 Dec 2006 21:45:18 +0100
Micha Nelissen [EMAIL PROTECTED] wrote:
Graeme Geldenhuys wrote:
TGfxFontClass = (fcSerif, fcSansSerif, fcTypewriter, fcDingbats);
I think a higher abstraction will be better. Something like a list of
names that map to (font name, size, style, charset)
Mattias Gaertner wrote:
About 'header': Most often the font name will be the same, but the size
or the style will be different.
Maybe better:
AControl.Font.Assign(GetDefaultHeaderFont)
Yes, ok, but my point was that the user could make up his own needs for
his/her application and use those.
I suppose you could have something like this
TNamedFontItem = class
private
public
constructor Create(AFontID, AFontDesc : string);
property FontID : string
property FontDesc : string
end;
The above class is used for the mappings. You need to store a list of
The LCL provides a Delphi compatible TFont.
The widgetsets searches the nearest font.
The gtk interface also understands XLD font names, where the
font name is a 15 attribute filter.
So, basically you can select every available font under
windows and under gtk/X. But they are not cross
Mattias Gaertner wrote:
On Mon, 11 Dec 2006 21:44:29 +0200
George Birbilis [EMAIL PROTECTED] wrote:
Ignoring the font dialog since it's another thing (it has
preview which covers the needs of the user a bit), the font
name property editor (it shows a drop-down list, could show
an owner-drawn
Quoting Mattias Gaertner [EMAIL PROTECTED]:
I'm not an font expert, so I don't know, what properties are needed by
TFont to make it cross platform (if this is possible).
Mattias
Hope it helps:
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsicat_id=FontDownloads
On Mon, 11 Dec 2006 21:44:29 +0200
George Birbilis [EMAIL PROTECTED] wrote:
Ignoring the font dialog since it's another thing (it has
preview which covers the needs of the user a bit), the font
name property editor (it shows a drop-down list, could show
an owner-drawn one instead) would
On Tue, 12 Dec 2006, Mattias Gaertner wrote:
On Mon, 11 Dec 2006 21:44:29 +0200
George Birbilis [EMAIL PROTECTED] wrote:
Ignoring the font dialog since it's another thing (it has
preview which covers the needs of the user a bit), the font
name property editor (it shows a drop-down
On 12/12/06, Mattias Gaertner [EMAIL PROTECTED] wrote:
I'm not an font expert, so I don't know, what properties are needed by
TFont to make it cross platform (if this is possible).
I have to agree, that it is quite difficult to handle fonts on
multiple platforms. fpGUI handles this in a very
On 12/8/06, George Birbilis [EMAIL PROTECTED] wrote:
[I agree with others, your Reply-To address is getting annoying!]
Let's see if this fixes the problem (do you reply to [EMAIL PROTECTED] with
this e-mail ok or to other one)?
It works perfectly now. :-)
--
Graeme Geldenhuys
There's no
[I agree with others, your Reply-To address is getting annoying!]
Let's see if this fixes the problem (do you reply to [EMAIL PROTECTED] with
this e-mail ok or to other one)?
Same could be done at the Font selection dialog (the dialog
could have
such property and the IDE could set that
On 12/8/06, George Birbilis [EMAIL PROTECTED] wrote:
BTW, speaking of many
platforms, how does Lazarus support fonts crossplatform? (does it delegate
the burden onto the OS ? [since there is raster/bitmap fonts, TrueType,
OpenType, PostScript etc. fonts that one could support)
Each widgetset
It would be nice if the font/name property editor (dropdown list) would
show the font names written in the respective font. That could be an
optional IDE setting (probably disabled or enabled by default depending on
how heavy or light it would be in resources at runtime).
Same could be done at
[I agree with others, your Reply-To address is getting annoying!]
On 12/7/06, George Birbilis [EMAIL PROTECTED] wrote:
Same could be done at the Font selection dialog (the dialog could have such
property and the IDE could set that from the value of the above mentioned
IDE setting) if it's not a
19 matches
Mail list logo