# Flatten Kerning + Glyphs renaming custom parameter (Setting up MS PPT font in Windows)

**URL:** <https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855>\
**Category:** Glyphs\
**Tags:** kerning\
**Created:** [April 28, 2023, 10:37am UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855 "2023-04-28T10:37:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rosaiani](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/rosaiani/32/22687_2.png) [@rosaiani](https://forum.glyphsapp.com/u/rosaiani)\
**Post date:** [April 28, 2023, 10:37am UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855/1 "2023-04-28T10:37:46Z")

</div>

Goal: to make sure kerning works in Windows PPT.  
Achieved so far: it works in Word in Windows 🙂

I have a 9-pole/master typeface with custom parameters subbing a intertwined W for a simple one in the “text” optical size exports.

 ![image](https://forum.glyphsapp.com/uploads/default/original/3X/7/d/7dd138548839909403298e7f71e038837ac65a97.png)

The kerning was done via kern-on and all looked good until applying the Kern Flattener script.

The script has a list of priorities in order to limit the number of pairs, but the alternate W (called “W.disp”, ends up with no kerning, as opposed to the regular original W which work in the display exports (those do not change W shapes).

 ![image](https://forum.glyphsapp.com/uploads/default/original/3X/7/e/7ef97a7d164df1f112e5fd8457930bd32bddecac.png)

I have tried duplicating the kerning lines related to W using regex and adding W.disp, also tried scripting using chat-gpt to achieve a similar result with no luck.

This is probably a very niche thing, but having proper kerning in PowerPoint could be less painful than this.

PPT Mac works ok:

 ![image](https://forum.glyphsapp.com/uploads/default/original/3X/f/a/fa779b7c624206650044de078f347c0133139178.png)

PPT Windows – strangely enough the display version’s kerning work, but not the text.

 ![image](https://forum.glyphsapp.com/uploads/default/original/3X/b/6/b6823dbf93ea79fac8687f90e26d62058c1360e5.png)

I validated the two different fonts and the one that does not display kerning has this:

 ![image](https://forum.glyphsapp.com/uploads/default/original/3X/b/7/b79adca63765576d22c0ae2ecf10512887de3687.jpeg)

those being the W.

---

<div class="post-metadata">

**Author:** ![GeorgSeifert](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/georgseifert/32/259_2.png) [@GeorgSeifert](https://forum.glyphsapp.com/u/GeorgSeifert)\
**Post date:** [April 28, 2023, 3:35pm UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855/2 "2023-04-28T15:35:46Z")

</div>

Any reason why the “W.disp” is not in the same kerning class as the “W”?

---

<div class="post-metadata">

**Author:** ![mekkablue](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/mekkablue/32/23_2.png) [@mekkablue](https://forum.glyphsapp.com/u/mekkablue)\
**Post date:** [April 28, 2023, 3:56pm UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855/3 "2023-04-28T15:56:36Z")

</div>

> [@rosaiani](#):
>
> alternate W (called “W.disp”

You can’t access alternates in PowerPoint.

---

<div class="post-metadata">

**Author:** ![rosaiani](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/rosaiani/32/22687_2.png) [@rosaiani](https://forum.glyphsapp.com/u/rosaiani)\
**Post date:** [April 28, 2023, 5:43pm UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855/4 "2023-04-28T17:43:49Z")

</div>

It was in the same group until the kern flattener.py was used.

@mekkablue the different W are being exported as regular W, it’s just like that so that I can have both forms in the same file. In variable it changes from double V form to simple form from 24pt down.

---

<div class="post-metadata">

**Author:** ![mekkablue](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/mekkablue/32/23_2.png) [@mekkablue](https://forum.glyphsapp.com/u/mekkablue)\
**Post date:** [April 28, 2023, 6:06pm UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855/5 "2023-04-28T18:06:03Z")

</div>

1. Kern Flattener removes all groups and all group kerning because there are no groups in the kern table.
2. The script does not take alternates into account. You need to do that before you run Kern Flattener.

---

<div class="post-metadata">

**Author:** ![rosaiani](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/rosaiani/32/22687_2.png) [@rosaiani](https://forum.glyphsapp.com/u/rosaiani)\
**Post date:** [April 28, 2023, 6:17pm UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855/6 "2023-04-28T18:17:36Z")

</div>

Got it!

---

<div class="post-metadata">

**Author:** ![rosaiani](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/rosaiani/32/22687_2.png) [@rosaiani](https://forum.glyphsapp.com/u/rosaiani)\
**Post date:** [April 28, 2023, 9:51pm UTC](https://forum.glyphsapp.com/t/flatten-kerning-glyphs-renaming-custom-parameter-setting-up-ms-ppt-font-in-windows/25855/7 "2023-04-28T21:51:40Z")

</div>

Just took a deep breath and did it by hand.
