# Letter g rendered with different descender styles

I've just noticed that Mathematica renders g in two distinct ways: either with a closed descender or a open descender. Seems it happens only for local variables.

• g with open descender:
• g with closed descender:

Does anyone know what/why this is happening?

Edit : An example for Manuel --Moe-- G:

Both kinds of g are rendered.

• Mathematica 11.0.1.0 on Windows
• I'm not sure I've used the correct tag… – Luc Dec 2 '16 at 15:51
• could you please add a screenshot of the "double-story" g rendering of a local variable? have never seen this before on a local variable – Manuel --Moe-- G Dec 2 '16 at 16:13
• Please post code blocks that produce both forms of g – Bob Hanlon Dec 2 '16 at 16:16
• The "single story" appears when the font is italic (pattern names). It looks like it isn't using the correct font for italics. Did you change the font? If yes, does your chosen font have an italic version installed? – Szabolcs Dec 2 '16 at 16:19
• No, it means it's a pattern name or a function argument. – Szabolcs Dec 2 '16 at 16:38

It took me a while to figure out what was happening.

Mathematica 11 uses different fonts on Windows, OS X and Linux. They are Consolas, Source Code Pro and Bitstream Vera Sans Mono, respectively.

Some fonts use different descender styles for the Italic and Roman versions. Source Code Pro doesn't, so people on OS X cannot see this behaviour. But Consolas does.

The difference you are seeing is simply the difference between the Italic and Roman versions of the same font.

Mathematica uses Italics for pattern names and function arguments.

What you see is entirely normal and there is no problem with either your Mathematica installation or the fonts installed on your system. If it bothers you, you can change the default code font like this.

This is not an answer. It is a comment that includes an image.

I am running V11.0.1 on OS X. I do not see the problem the OP is having. Suggest that it OS dependent and the question be tagged as Windows specific.