Register

PrintMini char size

Discuss issues related to the fx-9860G Software Development Kit
Junior Member
Posts: 10
Joined: Fri Sep 07, 2012 12:56 pm
Calculators: None

Re: PrintMini char size

Postby cfxm » Wed Feb 13, 2013 2:54 pm

If they use a similar Renesas display for the fx-CP 400, then this is bad news as the new display is getting larger and thus "slower".

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Re: PrintMini char size

Postby hayzel » Sat Feb 16, 2013 10:31 am

SimonLothar wrote:You can get a minigyph definition by syscall 0137.

char*GetMiniGlyph( short glyphno, short*width );

Depending on the returned width you have to interpret the returned bitmap in a different way.
with width <= 4 take 5 nibbles: each nibble representing one glyph line
else get 5 bytes: each byte representing one glyph line.

So if width<=4 the width of character is a nibble -> 4pixels.
if width>4 width of the character is width pixels.
right?

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Re: PrintMini char size

Postby hayzel » Sat Feb 16, 2013 10:53 am

Forget the question
I figured it out.

width is allways width.

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Re: PrintMini char size

Postby hayzel » Sat Feb 16, 2013 7:58 pm

What about normal big letters?
Are they constant width or not?

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Re: PrintMini char size

Postby SimonLothar » Sun Feb 17, 2013 6:54 am

hayzel wrote:What about normal big letters?
Are they constant width or not?
They are constant. width 6; height 8 (including one pixel for line- and character spacing).
I'll be back!

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Re: PrintMini char size

Postby SimonLothar » Wed May 01, 2013 3:54 pm

I just noticed a slight abnormality. The mini char height is 5 with characters of width 5 and above. The mini char height is 6 with characters of width 4 and lower. Though, most corresponding characters do not use the sixth line. The only exception I found up to now is the backslash.
I'll be back!

Previous

Return to Casio fx-9860 SDK

Who is online

Users browsing this forum: No registered users and 19 guests