tpunix/pgftool

I want create "ltn8~15.pgf" (Small Latin).

Closed this issue · 12 comments

I could create jpn0.pgf/ltn0~7.pgf by this tool.
Thank you!!

And,I try to create ltn8~15.pgf now.
Glyph hight & width is maybe good but line spaces is maybe too large.

Is it problem of my way?

[Dump info of Created ltn8.pgf]
image

[Win Ascent & Win Descent set value 0. But it will not change any style.]
image

[Real ltn12.pgf on Lunar.]
image
image

[Maked ltn12.pgf on Lunar.] (ltn8.pgf rename to 12)
image
image

I think "Warning screen" will looks good size.
But,The line spaces to large that In game conversation window.

If you have any advice or solved way.
Please,Help me.

you can change ascender/decsender value and test again.
the offset in pgf file:
0xd4: ascender
0xd8: descender
this value are in fixed 26.6 format.

Thank you!

And,Sorry please teach me.
When should I change Ascender & Descender?

  1. At making TTF?
  2. At useing pgftool? (Oqtion Command?)

Use a hexedit tool. Modify the generated pgf file.

Thank you!

I will learning about hexedit tools and try it!

When you can tell a recommended tool, it's lucky.

Hello.
I'm creating small latin pgf by your helping.
I could changed the Ascender & Descender value.
Other people helped me too.

And other problem(question) is born now.

"h_size" (horizonal size?)
"V_size" (vertical size?)
"Real PSP PGF" is "7.000000" both.
Is it should be fix to match?

Because,some games not fixed by Asceder & Descender value.

If you know about this.
Please,Teach me!!

image

[Real PSP ltn9.pgf]
image

[My Created ltn9.pgf]
image

try "max glyph height"? offset is 0xfe.

OK!
I will try it!!

hm....
I was set max glyph hight 14 to 7.
But,It's not changed any.

I tried changing value of some address.
But,I could't find value of "h_size"&"v_size".
hm....I'm into the deadlock now.:sweat_smile:

Hello master!
I could make all of PGF!

We needed change between "max_hor_bearing_X" and "max_vert_dimension" too.
Those value needed match or control to near on "Original".

Thank you for your help and tool!!

That's great!