Page 1 of 1

Strikeout and Underline Position

Posted: Sat Feb 05, 2005 4:34 pm
by Bhikkhu Pesala
I'm puzzled by these parameters on the Settings General and Post tabs.
For one font (technical) it seems to work as expected, but for the other (Elemntary) it does not.

This is how I calculated underline position and width for each font:
I selected the underline glyph (95) and from the Transform toolbar noted the vertical offset to the top of the glyph which was -129 for Elementary. Then I noted the vertical height of the glyph, also 129 funits for Elementary. I entered these on the Post tab for Underline Position and Thickness.

To calculate the strikeout position and size, I use the horizontal stroke of the lowercase e as my measuring point. The vertical offset to the top of the stroke of the e was 609 funits, and the thickness of the stroke was 135 funits. This is what I entered for the strikeout position and thickness.

Following the same procedure for Technical seemed to work, i.e. it moved the strikeout and underlining to the correct positions. However, it did not work for Elementary.

The central underlining stroke ._. uses the underline glyph, the other underlining and strikeout use text formatting in Jarte - a Wordpad clone.

Was my methodology correct?

Posted: Sat Feb 05, 2005 4:40 pm
by Erwin Denissen
These are suggested values, some word processors use them, some don't. You should contact the supplier of your word processor to find out if they support these values.

Posted: Sat Feb 05, 2005 5:26 pm
by Bhikkhu Pesala
No need to contact them, as Jarte clearly does support these values. Changing the underline position for technical and elementary both to zero had no effect on the elementary font, but did move the position for technical.

What could be the reason that the Elementary font behaves differently?
Could it perhaps be something to do with hinting or other tables? Elementary has been rehinted for me in Fontlab by a friend. Technical has not yet been rehinted.

Posted: Sat Feb 05, 2005 5:31 pm
by Erwin Denissen
What happens when you change the font name and try again?

If that doesn't help, please send both files to me and I'll look into it.

Posted: Sat Feb 05, 2005 5:40 pm
by Bhikkhu Pesala
That fixed it. :)

Posted: Sat Feb 05, 2005 5:47 pm
by Erwin Denissen
I'm glad the solution was that simple, but I wonder what caused the problem. I think either your operating system or the word processor cached the value. You might be able to locate the actual cause through a reboot...

Posted: Sat Feb 05, 2005 5:51 pm
by Bhikkhu Pesala
That was not it. I already tried reloading the wordprocessor, and reinstalling the fonts, rebooting, etc. I have used the same font names and the same font file names as before - just using auto-rename and reinstalling the fonts seemed to fix it without rebooting.

Edited: No longer relevant.

Posted: Sat Feb 05, 2005 6:12 pm
by Bhikkhu Pesala
Now fixed my Garland font too, entering appropriate different values for each typestyle.

Posted: Sat Feb 05, 2005 6:59 pm
by Erwin Denissen
I'm still curious how a non-broken font can be fixed through the AutoNaming wizard. Did you give the font a new name or did you use the original name during the AutoNaming process?

Posted: Sat Feb 05, 2005 7:06 pm
by Bhikkhu Pesala
First I named it "Elemental", tested it and it worked. Then I renamed it as Elementary, and it still worked. You can try with my faulty font if you like.

Hmm. :? Now working alright without renaming. Maybe just a question of uninstalling and reinstalling properly. Perhaps I was editing the Rehinted font, but reinstalling the unhinted font. :oops:

Posted: Sat Feb 05, 2005 7:26 pm
by Erwin Denissen
This is a common mistake, but hard to find.

Do you install your modified font through Font Creator?

Posted: Sat Feb 05, 2005 7:34 pm
by Bhikkhu Pesala
No. I always work from the font folder, and sort by date to delete the most recent fonts before reinstalling.

Posted: Sat Feb 05, 2005 11:50 pm
by Bhikkhu Pesala
:roll: Hey, guess what?

One can test the strikeout and underline position in the Test Window.

Now why didn't I notice that before? :shock:

Re: Strikeout and Underline Position

Posted: Wed Nov 08, 2017 9:24 pm
by Siavash
Hi,

Could you please confirm that these values doesn't work in Adobe programs or not? I have tested and apparently Adobe does in its own way.

Re: Strikeout and Underline Position

Posted: Wed Nov 08, 2017 10:40 pm
by Bhikkhu Pesala
Siavash wrote: Wed Nov 08, 2017 9:24 pmCould you please confirm that these values doesn't work in Adobe programs or not? I have tested and apparently Adobe does in its own way.
Apparently, you have found your own answer. The InDesign or PhotoShop forums would be the place to get a definitive statement. Perhaps they have a way to change the underlining size and position. It is decades since I used Adobe Pagemaker.