Page 1 of 1

kerning issue

Posted: Fri Jun 19, 2020 4:14 am
by murisa
so, I already set up kerning in opentype designer feature, and it work in Affinity Designer, but when I type on WPS office, my kerning doesn't work. Is there something I missing ?..any help would be appreciated..thanks

Re: kerning issue

Posted: Fri Jun 19, 2020 4:45 am
by Bhikkhu Pesala
Does WPS Office support other OpenType features? There are two types of kerning:
  1. Legacy kerning that uses a "kern" table in the font
  2. GPOS kerning that uses a glyph positioning table
On the font export settings dialog you can choose to include a legacy "kern" table in your fonts. If that solves the problem, then WPS Office does not support OpenType kerning.

Re: kerning issue

Posted: Sat Jun 20, 2020 5:28 am
by murisa
so I include a legacy "kern" table on the font export setting, unfortunately the error still comes up. I don't know if WPS Office support other OpenType features or not.

Re: kerning issue

Posted: Sat Jun 20, 2020 5:33 am
by Bhikkhu Pesala
Perhaps kerning is disabled in WPS or only set for font sizes larger than what you are using?

In PagePlus, I enable kerning for font size above 8 points, as 9 points is the smallest size that I use.

Re: kerning issue

Posted: Sun Jun 21, 2020 2:47 am
by murisa
Unfortunately,I don't know how to enable or disable the kerning on WPS office.
One more thing sir, when I use this font, the cursor became so tall, how can handle that, so the height will normal again ?
Screenshot_8.png
Screenshot_8.png (32.07 KiB) Viewed 6459 times

Re: kerning issue

Posted: Sun Jun 21, 2020 5:29 am
by Bhikkhu Pesala
The cursor height is the distance between WinDescent and WinAscent. That can be fixed in FontCreator by going to Font Properties, Metrics and clicking on calculate.

If that makes little or no difference, use the Font Information dialog to locate the glyph with Y Maximum and reduce the height of the glyph.

I cannot help with WPS Office problems; you should ask on the Microsoft forums about that.

Re: kerning issue

Posted: Mon Jun 22, 2020 4:59 am
by murisa
I follow your advice, but still have no luck with this cursor height...
I click the calculate and then reduce Y maximum..but the error still there..
btw, Iam using openoffice now, and the kerning is working now..

Re: kerning issue

Posted: Mon Jun 22, 2020 5:12 am
by Bhikkhu Pesala
I wonder why the Typo line gap is so huge?

Re: kerning issue

Posted: Tue Jun 23, 2020 3:38 am
by murisa
actually Iam trying to understand about typo ascender, typo descender and typo line gap, but I still confuse. I follow your link about all this, read it all, but still I have no luck. Can you show me how to determine the numbers for typo line gap and the others ?..

Re: kerning issue

Posted: Tue Jun 23, 2020 4:07 am
by Bhikkhu Pesala
When you click on "Calculate" the metrics will be calculated automatically. Did you try that again after adjust Y Maximum?

1879+800 = 2679 / 2048 = 1.308 so your default line-spacing would be 13.08 points for 10 point text. However, Typo Line Gap is increasing that.

2679+4017 = 6606 / 2048 3.269 or a default line-spacing of 32.69 points for 10 point text.

Typo Line Gap should be 0, but it can be more. I usually set mine to make the line-spacing a neat multiple like 1.2 or 1.3 of the point size.

If you cannot figure it out, attach the font project and I will take a look at it.

Re: kerning issue

Posted: Wed Jun 24, 2020 2:32 am
by murisa
I don't know if I double click that calculate button. May be I did so.
2048...where this value came from ?.
btw I set 0 for line gap and typo line gap, and it works now.

Re: kerning issue

Posted: Wed Jun 24, 2020 5:10 am
by Bhikkhu Pesala
The value of 2048 is the units/em on the General Tab of Font Properties. It is the default value for Windows fonts. One font unit is the smallest distance that a point can be moved.

Some fonts that have fine detail may benefit from values of 4096 or 8192 Units per em. Mac fonts often have value of 1000 units per em, but computers prefer binary numbers.

I was unable to work out why the line gap / typo line gap is so large. Perhaps Erwin or someone who understands these technical details better will explain.

Re: kerning issue

Posted: Wed Jun 24, 2020 6:19 am
by Erwin Denissen
FontCreator tries to preserve the original line spacing, and fills the void with a line gap.

A next upcoming release will set it to a more logical value if it detects the line gap exceeds 1/2 upem, but for now manually set both typo line gap and line gap values to 0.

Re: kerning issue

Posted: Thu Jun 25, 2020 5:42 am
by murisa
Bhikkhu Pesala wrote: Wed Jun 24, 2020 5:10 am The value of 2048 is the units/em on the General Tab of Font Properties. It is the default value for Windows fonts. One font unit is the smallest distance that a point can be moved.

Some fonts that have fine detail may benefit from values of 4096 or 8192 Units per em. Mac fonts often have value of 1000 units per em, but computers prefer binary numbers.

I was unable to work out why the line gap / typo line gap is so large. Perhaps Erwin or someone who understands these technical details better will explain.
thank you for all your help sir, btw is there anything you want to say about my font ?. I know there still much lacks on it and Iam still working on.

Re: kerning issue

Posted: Thu Jun 25, 2020 5:43 am
by murisa
Erwin Denissen wrote: Wed Jun 24, 2020 6:19 am FontCreator tries to preserve the original line spacing, and fills the void with a line gap.

A next upcoming release will set it to a more logical value if it detects the line gap exceeds 1/2 upem, but for now manually set both typo line gap and line gap values to 0.
ok....thank you sir..