Forum > Other

(Fpgui) Why can't assign Tfpgfont to this font?

<< < (2/2)

Graeme:
Just thought I would mention.... I don't visit these forums much, so might miss questions asked. I recommend you post fpGUI support questions in the official fpGUI support newsgroups. You can use any News (NNTP) client (eg: Mozilla Thunderbird, Claws-Mail, XanaNews etc), or the web interface to read and post in those newsgroups.

Details on how to connect:
  http://fpgui.sourceforge.net/support.shtml

vkhoa:
Thanks very much for the replies!
Weird, it not worked for me, I use windows xp
I think the problem the the font face name
in screenshot1, when any font which contains "-", "@", "." is chosen, the preview text example didn't apear in that font
then I rename the font that doesn't contain those characters above, the form displayed correctly (screenshot2)
Can anyone tell me how to assign the tfpgfont to font name with those characters, is it needed to use any kind of escape character? (I have placed "\", "/" before "-" but it is not worked)

The string  'Chào tất cả các bạn' is in Vietnamese, it means "Hello everybody"

Graeme:
OK, I haven't tried using your VNI font under Windows. Later today I'll give it a try. I think  I have an idea of what could cause the problem. Thanks for the extra information, it should help a lot.

Graeme:

--- Quote from: vkhoa on February 28, 2015, 07:38:48 am ---Weird, it not worked for me, I use windows xp. I think the problem the the font face name in screenshot1, when any font which contains "-", "@", "." is chosen, the preview text example didn't appear in that font

--- End quote ---
Please get an update from Git and switch to the release-1.4 branch which contains some last minute fixes that aren't in the develop branch yet - but will be soon. Anyway, issue was that the tokenizer that splits up a font description (eg: Arial-12:bold) into its various parts, did not accept the '-', or '@' characters as part of the font name. This has now been fixed and tested on Win2000. I also fixed the Font Dialog which also uses the same tokenizer.

vkhoa:
I downloaded the fix, it worked
thanks :)

Navigation

[0] Message Index

[*] Previous page

Go to full version