Font in 9860 gii SDK programs
9 posts
• Page 1 of 1
- saeedgolabli
- Junior Member
- Posts: 5
- Joined: Mon May 14, 2018 7:27 pm
- Calculators: Casio Afx 2.0, Casio fx-9860GII SD Power Graphic 2
Font in 9860 gii SDK programs
Hi
Thank you very much if you answer my question.
How can I write an application that is in the "SDK" environment with the output of Persian?
I really need this very much. Please help me.
Many thanks.
I use the calculator 9860 gii sd
Thank you very much if you answer my question.
How can I write an application that is in the "SDK" environment with the output of Persian?
I really need this very much. Please help me.
Many thanks.
I use the calculator 9860 gii sd
- lephe
- Member
-
- Posts: 39
- Joined: Fri Aug 21, 2015 11:54 am
- Location: France
- Calculators: Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860GII, Casio fx-CG50
Re: Font in 9860 gii SDK programs
Hi,
All characters supported by the FONTCHARACTER encoding of Print() can be found in the following manual:
Character Set.pdf
You can insert them in a C string by using an hexadecimal escape, for instance "\xe5\x55" (prints "ϕ").

All characters supported by the FONTCHARACTER encoding of Print() can be found in the following manual:
Character Set.pdf
You can insert them in a C string by using an hexadecimal escape, for instance "\xe5\x55" (prints "ϕ").
- lentulion
- Junior Member
- Posts: 4
- Joined: Fri Sep 20, 2013 1:38 am
- Calculators: Casio fx-9860GII
Re: Font in 9860 gii SDK programs
Thing, that You must build the persian character. All You need.
These characters, all are for a text editor?? or are for some message?? into an specific ADD-IN.
Due to the high speed of the fx-9860 CPU's, build and print your own character is a good idea.
These characters, all are for a text editor?? or are for some message?? into an specific ADD-IN.
Due to the high speed of the fx-9860 CPU's, build and print your own character is a good idea.
- saeedgolabli
- Junior Member
- Posts: 5
- Joined: Mon May 14, 2018 7:27 pm
- Calculators: Casio Afx 2.0, Casio fx-9860GII SD Power Graphic 2
Re: Font in 9860 gii SDK programs
lephe and lentulion :::
Thank you dear friends
I want this for a Add-in program.
I want to display messages in the program. For example, in Persian, display "Enter number" or provide explanations about the program's responses in Persian.
If it can be used for input numbers from the Persian font, it is perfect and perfect.
ممنونم که وقت گذاشتید..
Thank you dear friends
I want this for a Add-in program.
I want to display messages in the program. For example, in Persian, display "Enter number" or provide explanations about the program's responses in Persian.
If it can be used for input numbers from the Persian font, it is perfect and perfect.
ممنونم که وقت گذاشتید..

- saeedgolabli
- Junior Member
- Posts: 5
- Joined: Mon May 14, 2018 7:27 pm
- Calculators: Casio Afx 2.0, Casio fx-9860GII SD Power Graphic 2
Re: Font in 9860 gii SDK programs
Does anyone have any idea or plan? :



- lephe
- Member
-
- Posts: 39
- Joined: Fri Aug 21, 2015 11:54 am
- Location: France
- Calculators: Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860GII, Casio fx-CG50
Re: Font in 9860 gii SDK programs
So as I thought, there is no Persian in FONTCHARACTER. >_<
I guess you have no choice but to design the font yourself; possibly you can re-use an existing one if you find any with a suitable character size.
Then you need to draw the characters in the VRAM by hand. Do you know how to write pixels to the VRAM?
I guess you have no choice but to design the font yourself; possibly you can re-use an existing one if you find any with a suitable character size.
Then you need to draw the characters in the VRAM by hand. Do you know how to write pixels to the VRAM?
- saeedgolabli
- Junior Member
- Posts: 5
- Joined: Mon May 14, 2018 7:27 pm
- Calculators: Casio Afx 2.0, Casio fx-9860GII SD Power Graphic 2
Re: Font in 9860 gii SDK programs
lephe wrote:So as I thought, there is no Persian in FONTCHARACTER. >_<
I guess you have no choice but to design the font yourself; possibly you can re-use an existing one if you find any with a suitable character size.
Then you need to draw the characters in the VRAM by hand. Do you know how to write pixels to the VRAM?
Unfortunately not ...
My knowledge of this field is very small.
just .. For example, for each letter, a pixel block is 8 * 8. And with the command that the point draws, each of the letters is drawn in each block.
But how do I apply it to my program?
What came to my mind is to define a function for each block of 8 × 8 characters. Then, to display a word or sentence, call a number of blocks and display it with appropriate library functions.
Is this a good solution?
- lentulion
- Junior Member
- Posts: 4
- Joined: Fri Sep 20, 2013 1:38 am
- Calculators: Casio fx-9860GII
Re: Font in 9860 gii SDK programs
Due to the no-existiyng of persian characters into the fx-9860 printable set, I can suggested:
1. The ASCII character set contains 255 symbols. Maybe less 188 are printable on the calc's display.
2. Every ASSCI character has its own number. If You can build a minimun persian character set (I guess, it's seemed to the arabic character set), this can be organized from minor to max. And, this way, every persian character would be indexed by numbers.
3. To increment the speed of your message printing into your ADD-IN, You can CALL every persian character directly rigth from a POINTER to a function. All the persian characters You would building maybe indexed into a pointer matrix to integers or void functions.
1. The ASCII character set contains 255 symbols. Maybe less 188 are printable on the calc's display.
2. Every ASSCI character has its own number. If You can build a minimun persian character set (I guess, it's seemed to the arabic character set), this can be organized from minor to max. And, this way, every persian character would be indexed by numbers.
3. To increment the speed of your message printing into your ADD-IN, You can CALL every persian character directly rigth from a POINTER to a function. All the persian characters You would building maybe indexed into a pointer matrix to integers or void functions.
- saeedgolabli
- Junior Member
- Posts: 5
- Joined: Mon May 14, 2018 7:27 pm
- Calculators: Casio Afx 2.0, Casio fx-9860GII SD Power Graphic 2
Re: Font in 9860 gii SDK programs
Thank you for your opinion and guidance "lentulion".
I used the guidance of you and other friends.
Thank you for guiding me.


I used the guidance of you and other friends.
Thank you for guiding me.

9 posts
• Page 1 of 1
Return to Tutorials & Code Snippets
Who is online
Users browsing this forum: No registered users and 5 guests