Find fonts with unicode characters

Use this forum to ask questions about how to do things in QCAD 2.1/2.2.

Moderator: andrew

Find fonts with unicode characters

Postby tsd » Wed Apr 04, 2007 1:39 am

I'd like to use the following unicode characters in a drawing:

0100, 0101, 0112, 0113, 012A, 012B, 014C, 014D, 016A, 016B, and 02BB.

I am able to use these to compose my text in the dialog box, but placing them in the drawing is not possible in the few fonts I've tried, including the unicode font.

How can I find a font that will display these unicode characters?

Thanks,
Tom
tsd
Registered Member
 
Posts: 1
Joined: Wed Apr 04, 2007 1:33 am

Re: Find fonts with unicode characters

Postby andrew » Wed Apr 04, 2007 9:00 am

tsd wrote:I'd like to use the following unicode characters in a drawing:

0100, 0101, 0112, 0113, 012A, 012B, 014C, 014D, 016A, 016B, and 02BB.


0100 - 017F are included in "standard" and "unicode" since QCad 2.1.2.8

You can also extend these fonts with QCad itself:

- Open the font file in QCad (type: 'Font *.cxf', location: QCad directory/fonts).
- add a block with name "[UUUU]" where UUUU is the hexadecimal Unicode for the character (e.g. "[02BB]")
- Edit the block to contain the glyph for that particular character. The height of a capital 'A' is 9 units, 0/0 of the block is at the lower left edge of the glyph.
- If you restart QCad, you can start using your new glyph[/list]
User avatar
andrew
Site Admin
 
Posts: 2602
Joined: Fri Mar 30, 2007 6:07 am

Postby Gooserider » Wed Aug 12, 2009 4:50 pm

If one extends the character set in the way described, which sounds reasonably straightforward, and use the extended character in a drawing, what happens if you then give a copy of a drawing file to somebody else that has not extended their character set the same way?

Will they get the character you drew, or will they get the question mark that comes from use of an "unknown" character.

IOW, does the drawing file contain a vector copy of the letter, or does it just do the equivalent of saying "put char XYZ here"?

Gooserider
beginner
Gooserider
Junior Member
 
Posts: 24
Joined: Wed May 30, 2007 3:57 am
Location: MA, USA, North America, Earth, etc.

Postby andrew » Wed Aug 12, 2009 5:06 pm

They will get a question mark. I.e. you will have to give them your font along with the drawing to make it work.
User avatar
andrew
Site Admin
 
Posts: 2602
Joined: Fri Mar 30, 2007 6:07 am


Return to QCAD 2.1/2.2 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 2 guests