[REQ] Arabic fonts

GLCD Font Creator software is the ultimate solution to create personalized fonts, symbols and icons for Graphic LCDs. It generates code compatible with All mikroElektronika compilers
Author
Message
kahtan
Posts: 44
Joined: 28 May 2010 21:38

[REQ] Arabic fonts

#1 Post by kahtan » 09 Mar 2012 12:36

Hello,
How to creat arabic fonts using GLCD Font Creator ?

Thanks

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: [REQ] Arabic fonts

#2 Post by filip » 13 Mar 2012 09:55

Hi,

I have downloaded an Arabic font, imported it into the GLCD fonrt creator software and used it successfully in my GLCD application.
Did you have any problems when using Arabic fonts ?

Regards,
Filip.

kahtan
Posts: 44
Joined: 28 May 2010 21:38

Re: [REQ] Arabic fonts

#3 Post by kahtan » 13 Mar 2012 11:31

Hello filip,
when i import Arabic font using GLCD font creator
i cant see anything on my GLCD
please can you post your code?
Thank you

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: [REQ] Arabic fonts

#4 Post by filip » 16 Mar 2012 15:41

Hi,

Which Arabic font are you using ?
Can you attach it here please ?

Regards,
Filip.

kahtan
Posts: 44
Joined: 28 May 2010 21:38

Re: [REQ] Arabic fonts

#5 Post by kahtan » 16 Mar 2012 22:09

Hi,
Thank you for replay

here is the font i use: Traditional Arabic
Attachments
Font.rar
(162.25 KiB) Downloaded 809 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: [REQ] Arabic fonts

#6 Post by filip » 19 Mar 2012 14:52

Hi,

It seems that this font doesn't contain the Arabic characters, I have used several font tools to see it's content and I didn't see any Arabic characters.

Regards,
Filip.

kahtan
Posts: 44
Joined: 28 May 2010 21:38

Re: [REQ] Arabic fonts

#7 Post by kahtan » 20 Mar 2012 01:12

Hi filip,
It seems that this font doesn't contain the Arabic characters
It is famous arabic font i copied it directly from windows Font folder.
Posted: 13 Mar 2012 12:31:

I have downloaded an Arabic font, imported it into the GLCD ...
What arabic font did you use?
Can you post it here?

Thank you

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: [REQ] Arabic fonts

#8 Post by filip » 20 Mar 2012 12:50

Hi,

I have used Aga Abasan Outline Arabic Font, which can be downloaded from here :
http://freearabicfonts.com/download.php ... me=abasan2

Regards,
Filip.

kahtan
Posts: 44
Joined: 28 May 2010 21:38

Re: [REQ] Arabic fonts

#9 Post by kahtan » 25 Mar 2012 15:38

Hello,
I tried to import this font using GLCD font creator
(i copied it to windows font folder then imported it to GLCD font creator)
it didn't work

see attached image
Attachments
font.jpg
font.jpg (191.82 KiB) Viewed 15997 times

octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

Re: [REQ] Arabic fonts

#10 Post by octal » 26 Mar 2012 10:02

@Kahtan
witch version of **WINDOWS** are you using please?
http://www.pocketmt.com

kahtan
Posts: 44
Joined: 28 May 2010 21:38

Re: [REQ] Arabic fonts

#11 Post by kahtan » 26 Mar 2012 14:49

Hello octal,
I'm using Windows 7 Ultimate

Thank you
Attachments
winver.jpg
winver.jpg (52.21 KiB) Viewed 15978 times

octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

Re: [REQ] Arabic fonts

#12 Post by octal » 26 Mar 2012 21:50

Kahtan,
Thanks for this precision, I'm also using Win7 ultimate edition (French version).

What you are doing in importing Arabic is wrong!

You need to understand that GLCD Font Creator is really able to import ANY **UNICODE** font. When we talk about UNICODE Fonts, we need to give a precision.
In unicode fonts, chars are not mapped like (what I may call) standard old ascii based fonts.
In Unicode fonts, each (wide) char has a unique code (like the old ascii code) encoded in 2 bytes. This gives 65K possibilities (2^16). In each unicode font, each language has its **own reserved** bloc.

if you take ANY font that "implements" arabic (or hebrew, chinese, or greek, ...) bloc, you can import arabic chars from it by providing the code of the FIRST char in the concerned bloc.

From your screen capture, we can see (on the left grid) that you are trying to import the arabic chars in the bloc belonging to first 256 chars. In Unicode fonts, this bloc is reserved (for compatibility issues) to standard latin glyphs based languages (English, French, ...). Even if you take Traditional Arabic font, you'll **never** be able to import arabic chars from it in this bloc.

As an example, go in GLCD Font Creator , select import "Traditional Arabic", and when GLCD Font Creator prompts you to provide the "From" and "To" text boxes, give the values: From == 1569 To== 1610 (see screenshot belows).
This way, GLCD Font Creator will import the main arabic bloc chars with the Hindi Numerals (used in middle orient countries for digits representation).
To find the bloc you need to import, you may use the CharMap application provided in the windows accessories (btw, charmap shows the char code at bottom in hex format).

If you have any issue, don't hesitate to ask again on this forum.
Attachments
glcd_import1.png
glcd_import1.png (38.94 KiB) Viewed 15969 times
glcd_import2.png
glcd_import2.png (151.81 KiB) Viewed 15969 times
http://www.pocketmt.com

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: [REQ] Arabic fonts

#13 Post by filip » 27 Mar 2012 09:20

Hi,

Thank you for this thorough description, it will shine a new light on the usage of GLCD Creator.

Regards,
Filip.

kahtan
Posts: 44
Joined: 28 May 2010 21:38

Re: [REQ] Arabic fonts

#14 Post by kahtan » 27 Mar 2012 13:49

Hi,
Thank you very much octal

Now I can import Arabic fonts, and start writing code to add a Write_Arabic_Text to my library

Thanks,
kahtan

octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

Re: [REQ] Arabic fonts

#15 Post by octal » 27 Mar 2012 13:59

@filip @kahtan
you are welcome :wink:
http://www.pocketmt.com

Post Reply

Return to “GLCD Font Creator Software”