FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to define and display truetype font ?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
How to define and display truetype font ?
Posted: Fri Sep 10, 2010 03:49 AM

Hi,
As title.
TKS!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: How to define and display truetype font ?
Posted: Fri Sep 10, 2010 09:24 AM
If you're asking how to use a truetype font then the answer is: nothing special. Just use the DEFINE FONT command as usual. But if your question was how to create a new font from scratch (ie. to define the shapes of each single letter) then I don't know, sorry.

EMG
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: How to define and display truetype font ?
Posted: Fri Sep 10, 2010 09:57 AM
From Enrico :
But if your question was how to create a new font from scratch (ie. to define the shapes of each single letter) then I don't know, sorry.

If You want to change some Characters of a Font, You need a Fonteditor.
You can load a existing Font and overwrite a existing Char ( draw ) with Your own type.
Some times ago, I used it, to replace some Chars with new Symbols, I needed.
I saved the changed Font with a new Name like "Arial" = "ArielNew"
Using the changed Font in FWH, it was possible, to display my own Symbols.
In case You need it ( Freeware ) I can create a Download-Link on my Homepage.

Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: How to define and display truetype font ?
Posted: Sat Sep 11, 2010 02:28 AM

But, define font ofont20 name 'arial' size 0,-20

define (s)button promt "ture type font test" font ofont20

This shows rough text, not fine as photoshop done.

Regards !
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651

Continue the discussion