Incorrect Glyph in Times New Roman Bold

I have an NSBezierPath and append character shapes to it using appendBezierPathWithGlyph: inFont: (this is actually deprecated but I see the same problem with its designated successor appendBezierPathWithCGGlyph: inFont:). I use NSFont's glyphWithName: method to obtain the glyphs.

Using the font name @"TimesNewRomanPS-BoldMT" (the problem does not appear with roman, italic or bold-italic faces), the glyph for @"N" is incorrect (inverted lower-case 'i').

The essence of the code is:

character = [text substringWithRange:subStr];  // subStr is an NSRange of of (n, 1)
glyph = [tempFont glyphWithName:character]; // Glyph name for ASCII letter just that letter
[gPath appendBezierPathWithGlyph:glyph inFont:tempFont];

cgGlyph = [tempFont glyphWithName:character];  // Assuming glyph values are toll-free bridged
[gPathCG appendBezierPathWithCGGlyph:cgGlyph inFont:tempFont];

[gPath fill];
[gPathCG fill];

This uses the two forms of appendBezierPathWith... on two paths that both give the same result (see screenshot of output using this code on all four fonts for the string @"ONExTimesNewRoman...".

Any thoughts would be appreciated.

macOS Golden Gate 27.2.1