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

List:       kde-devel
Subject:    Re: Fonts dialog for odd fonts formats
From:       Jaime Soffer <lists () soffernet ! com>
Date:       2003-08-26 13:14:28
[Download RAW message or body]

James Richard Tyrer wrote:

> If you can't get this to work, please submit a feature request.  What 
> you need is an application specific list of the fonts to use.  This is 
> something that is generally needed for all applications.  That would 
> work to exclude the fonts you don't want to display in the dialog 
> !(*.cxf). However, I don't know if you can also get it to use CXF font 
> files since it doesn't AFAIK, use CXF fonts.

I don't think I have explained myself correctly about the CXF format. It 
is a vector format in palin text files where the font is defined as

[Q] 9
L 1,3,1,6
A 4,6,3,90,180
A 4,3,3,180,270
L 4,9,5,9
L 5,0,4,0
L 8,6,8,3
A 5,6,3,0,90
A 5,3,3,270,0
L 8,0,5,3

The [Q] is the font to display, the lines beginning by L are lines (x1, 
y1, x2, y2) and the ones beginning by A are arcs (x, y, radio, start 
angle, end angle). The CAD uses an special routine to read them.

The QCad approach is to make a custom widget, so once one press the 
"Text" button the dialog pops with sections for Dimension, Alignment, 
Text, Shape and Font. I don't want to go this way; I'd prefer to use the 
KDE font dialog to get better consistency.

> 
> If not you can just use the File dialog with the needed filter:
> 
>     (*.cxf, *.CXF)

If adding the correct importers to the KFontDIalog and/or KFontChooser 
takes too long that's what I'm going to do in short term, but it's less 
usable since the font still needs dimension/aligning, which have to be 
done with separate commands.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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