Glyphname extension problems

Primary tabs

8 posts / 0 new
Last post
olho's picture
Offline
Joined: 23 Jan 2008 - 7:20am
Glyphname extension problems
0

I've got some odd behaviour testing my PostScript flavoured OpenType that I suspect is down to the naming of certain glyphs. I wondered if anybody could shed some light on where I've gone wrong. I spent a long time matching my glyphs to the exact spec in the FontLab manual too, so I'm a bit frustrated.

In InDesign some of my oldstyle numbers are jumbled. If I add a 1, say, I get a 2!

It could be down to bad Unicode names too. I used FontLab's Generate Unicode tool to populate as many Unicode points as possible. I'm wondering if that was my bum move.

Testing with FontQA does bring up naming issues though, listing the following as errors.

All my small caps, which are named, A.smcp etc.
All my proportional lining numbers, named zero.fitted etc.
All my tabular oldstyle numbers, named zero.taboldstyle etc.
And all my proportional oldstyle numbers, named zero.onum etc.

Looking now, zero.taboldstyle seems to be an erroneous format, but then, the others fail the FontQA test too. Maybe zero.taboldstyle and zero.onum are in fact equivalent, which may explain InDesign's confusion.

Hmm. I'm stuck I suppose. Anyone able to suggest what the names should actually be?

Charles Ellertson's picture
Joined: 3 Nov 2004 - 11:00am
0

While I don't much care for your naming scheme, I don't think that is it. I think it is simply that you have a mixup in your classes, so that "two.something" is the second member of one class, where "one.somethingelse" is the second member of the others.

Just a WAG.

For what it is worth, I (following John Hudson, I believe) use one.op (for one, oldsyle proportional), one.lp (for one, lining proportional), one.lt (one, lining tabular), and of course, one.ot (for one, oldstyle tabular)

There is a limit to the total length of the names, and if you get too prolix, you'll hit it fast.

Adam Twardoch's picture
Offline
Joined: 3 Dec 2002 - 7:36pm
0

The glyphname extension test in FontQA is tied to FontShop's internal glyphname standards. Your glyphnames are perfectly fine.
A.

Jason Pagura's picture
Offline
Joined: 10 Sep 2006 - 6:19pm
0

You say:
All my small caps, which are named, A.smcp etc.

I think small caps are supposed to be mapped to lowercase character names (e.g., "a.smcp" instead of "A.smcp"), since that's how they are generally used in text. I could be wrong.

Charles Ellertson's picture
Joined: 3 Nov 2004 - 11:00am
0

I think small caps are supposed to be mapped to lowercase character names (e.g., “a.smcp” instead of “A.smcp”), since that’s how they are generally used in text. I could be wrong.

I'd say you're wrong. As I understand it, the point is when, say, text is extracted from a PDF, the period & what follows drop out. So, if you had n.smcp c.smcp a.smcp a.smcp, you'd get ncaa. But N.smcp C.smcp A.smcp A.smcp would go to NCAA. Kansas would be happier.

Most small caps should map to caps if small caps aren't available.

Jason Pagura's picture
Offline
Joined: 10 Sep 2006 - 6:19pm
0

But thats just in the special case of initials/acronyms that for whatever reason are not written in all caps separated with periods (the grammatically correct but typographically ugly way). Any other situation where small caps are used for various sorts of emphasis or what have you, where they might appear along side a regular cap in proper nouns (or any noun in German), should the small caps then not map to the lower case?

Miguel Sousa's picture
Offline
Joined: 18 May 2003 - 8:30pm
0

> Most small caps should map to caps if small caps aren’t available.

Small caps should map to whatever case they started from. If you're getting small caps by styling lowercase, then the glyphs should map to lowercase. The same applies to uppercase. This is the reason why our fonts have two sets of small cap glyphs, which in terms of features are treated like this,

feature c2sc { # Small caps from caps
sub A by A.sc;
} c2sc;

feature smcp { # Small caps from lowercase
sub a by a.sc;
} smcp;

olho's picture
Offline
Joined: 23 Jan 2008 - 7:20am
0

Well, you've convinced me that my suffixes aren't the problem. In the end I've opted for A.sc zero.ot etc. I appreciate the brevity.

Having changed these and recompiled the font my issues have resolved. Mind you I think the glyph palette in InDesign CS3 (Mac) is a bit buggy as it has crashed the entire app more than a couple of times now –- and not just using my own font.

I've learnt, too having seen the discussion about small caps. So, thanks all.