Missing fonts

Drop in here to discuss whatever you want.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
dpawson
Junior Member
Posts: 13
Joined: Tue Feb 10, 2009 7:00 pm

Missing fonts

Post by dpawson » Wed Feb 11, 2009 7:53 pm

How can I find out if a font contains a specific character please?

Looking for u0x5C, backslash. Seems not to exist in any of the fonts
available?


DaveP

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Post by andrew » Thu Feb 12, 2009 12:56 pm

The backslash should certainly exist in most fonts (standard, courier, coursive, unicode, ...).

The font files are plain text and easy to understand. You can also load font files with QCAD to import the glyphs as blocks. This way you can add new glyphs to a font or change existing glyphs.

dpawson
Junior Member
Posts: 13
Joined: Tue Feb 10, 2009 7:00 pm

Post by dpawson » Thu Feb 12, 2009 1:32 pm

andrew wrote:The backslash should certainly exist in most fonts (standard, courier, coursive, unicode, ...).

The font files are plain text and easy to understand. You can also load font files with QCAD to import the glyphs as blocks. This way you can add new glyphs to a font or change existing glyphs.

Using the modify text idea, I tried every single font available.

None provided a visible glyph for backslash. ""

DaveP

dpawson
Junior Member
Posts: 13
Joined: Tue Feb 10, 2009 7:00 pm

Post by dpawson » Fri Feb 13, 2009 2:17 pm

andrew wrote:The backslash should certainly exist in most fonts (standard, courier, coursive, unicode, ...).

The font files are plain text and easy to understand. You can also load font files with QCAD to import the glyphs as blocks. This way you can add new glyphs to a font or change existing glyphs.


Also missing:

{ } Left and right curly brace
backslash, as noted.

The 'star' (shift 8) is transformed into a cross.

Not nice, when the app is boasting about Unicode support

dpawson
Junior Member
Posts: 13
Joined: Tue Feb 10, 2009 7:00 pm

Post by dpawson » Sat Feb 14, 2009 9:21 am

andrew wrote:
The font files are plain text and easy to understand. You can also load font files with QCAD to import the glyphs as blocks. This way you can add new glyphs to a font or change existing glyphs.


Do you have any reference for the markup please Andrew?
"Easy to understand" .... when you know how?

Dave

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Post by andrew » Sat Feb 14, 2009 11:32 am

"Easy to understand" as in you can probably figure out what glyphs they contain. Each block defines the glyph for a character and the character is present in the font file in plain text. For a capital A of the standard font:

[0041] A
... glyph definition ...

You do not want to edit these files manually. Load them with QCAD and use QCAD to view / edit and add glyphs as blocks.

Note that the backslash is not working because it is used for special escape sequences for superscripts and subscripts (see manual). This will be fixed with a workaround (most likely \\ for one backslash) in future versions.

dpawson
Junior Member
Posts: 13
Joined: Tue Feb 10, 2009 7:00 pm

Post by dpawson » Sat Feb 14, 2009 12:00 pm

andrew wrote:"Easy to understand" as in you can probably figure out what glyphs they contain. Each block defines the glyph for a character and the character is present in the font file in plain text. For a capital A of the standard font:

[0041] A
... glyph definition ...

You do not want to edit these files manually. Load them with QCAD and use QCAD to view / edit and add glyphs as blocks.
No information on glyph definition?
How might I 'load them with QCAD, or edit them as blocks?

Nothing found in the documentation.

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Post by andrew » Sat Feb 14, 2009 12:08 pm

In a nutshell:

1. File - Open - choose "Font *.cxf) as file format
2. Make sure the block list is shown.
3. Edit blocks / add blocks to edit / add glyphs.

Format of block names:

[xxxx] A

Where 'xxxx' is the hexadecimal Unicode of the glyph and 'A' is the glyph itself (optional).

Basic knowledge on working with blocks and Unicode is required.

dpawson
Junior Member
Posts: 13
Joined: Tue Feb 10, 2009 7:00 pm

Post by dpawson » Sun Feb 15, 2009 8:35 am

andrew wrote:In a nutshell:

1. File - Open - choose "Font *.cxf) as file format
2. Make sure the block list is shown.
3. Edit blocks / add blocks to edit / add glyphs.

Format of block names:

[xxxx] A

Where 'xxxx' is the hexadecimal Unicode of the glyph and 'A' is the glyph itself (optional).

Basic knowledge on working with blocks and Unicode is required.

Which isn't much good when the application doesn't follow those rules?
the 3 examples I quoted are correct according to your definition
and Unicode v5, yet don't show correctly.

Thanks Andrew. I'll wait for the next release.

Post Reply

Return to “Chat”