Page 1 of 1

Using Custom Underlining in Microsoft Word 2010

Posted: Fri Oct 28, 2016 1:17 pm
by milson
I want to use the underline function in word but using my own custom underline. I tried to do this with the underscore glyph but when in word it uses a default setting. How do you get around this?

Milson

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Fri Oct 28, 2016 5:04 pm
by Bhikkhu Pesala
The underlining in Windows applications never uses the underscore character. It's a simple continuous horizontal rule, the thickness and position of which is defined in the font's metrics. Some applications (e.g. LibreOffice) may ignore this and use their own settings.

Go to Font Properties, General, and set new values for underline thickness and position. Test it on the Font Test window, and with that window still open, test underlining of the Temporary font in Word.

I have used ridiculous values here (above the baseline and very thick).
Underlining Test.png
Underlining Test.png (6.17 KiB) Viewed 5521 times

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Fri Oct 28, 2016 10:38 pm
by MikeW
There aren't many applications that use all the underline all metrics as defined in a font that I use. MS word will use the size and position for its own underline feature. AD also does. But that is about it for at least using the size/position as defined in the font among the applications I use.

LibreOffice will use the positioning, but not the thickness. A couple use the thickness, but not positioning (like AI). Some applications allow the redefining of their internal underscore character (ID/QXP). XDP only uses its internal character and doesn't allow customization. I now forget what the rest do among the applications I use frequently.

One can make a copy of the characters and manually copy and place the underscore under those characters. Add them to a stylistic set to swap out the non-underlined characters for the underlined version.

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Fri Oct 28, 2016 11:13 pm
by Bhikkhu Pesala
Serif Applications like PagePlus will use the font metrics for both thickness and position.
Underlining in PagePlus.png
Underlining in PagePlus.png (14.23 KiB) Viewed 5510 times

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Sat Oct 29, 2016 12:06 am
by MikeW
Yep, it does.

I rarely fire it up these days and evidently skipped it in the testing I did. I don't know about DP or the others...I haven't reinstalled them since installing a new hard drive in June.

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Mon Oct 31, 2016 9:21 am
by milson
Hi All.

Thanks for the quick feedback. I will have a go.

Another question related to this. Is it possible to create a glyph that will automatically overwrite like underline funtion in Word? For example if I wanted to create a multiple line option/glyph for my cursive font for ascender and descender positions.

Thanks again

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Mon Oct 31, 2016 11:13 am
by Erwin Denissen
No, but you might be able to achieve something similar with OpenType layout features. You could include an Alternate Annotation Forms feature (nalt) which replaces a regular Latin character with one that also includes the additional lines. But since Word doesn't allow you to activate that feature, calt might be abetter choice.

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Mon Oct 31, 2016 11:16 am
by Bhikkhu Pesala
You can create combining diacritical marks like Combining Overline (0305) and Combining Lowline (0332), but these would have to be typed after each letter. It's not a pretty solution.

U̲n̲d̲e̲r̲l̲i̲n̲i̲n̲g̲

Re: Glyph advance width and 'window'

Posted: Wed Nov 02, 2016 12:06 pm
by milson
Advance width problems.

Hi all. I have designed a ligature substitution that is too long for the glyph 'window'. I have tried to find where to adjust it but without success. How does one get around this problem? Can you set advance width and/or 'window' size for an individual glyph?

Milson

Re: Using Custom Underlining in Microsoft Word 2010

Posted: Wed Nov 02, 2016 1:56 pm
by Bhikkhu Pesala
Try the Glyph Properties dialoge (F3).