🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
6 messages
6 total messages Started by Ed_Hicks Sun, 18 Jan 2004 21:24
Times font with figure space and thin space?
#757
Author: Ed_Hicks
Date: Sun, 18 Jan 2004 21:24
23 lines
3364 bytes
There doesn't seem to be a more appropriate Adobe formum than this one to post this question, but if there is, please advise me.

I am looking for a Times font (Times Roman, Times New Roman, or other variant) that contains at least the Latin 1 characters plus the oe ligature and, most importantly, the thin space and the figure space; the en space is also desirable.

This is what I am trying to achieve, using the Antenna House v.3 XSL-FO formatting engine:

(a) print a non-breaking space that does not expand on justification (the figure space (U+2007) will do, but the en space (U+2002) surrounded by word joiner characters (U+2060) would be acceptable, and preferable in some circumstances;

(b) print a thin space (U+2009) that does not break on line endings -- the only way to do this seems to be by surrounding a thin space with word joiner characters.

This methodology seems to work in Antenna House v.3 *as long as you don't change the font in the process*. That is, we have tried this with MS Arial Unicode, and it seems to work. However, when we use MS Times New Roman for the text and switch to MS Arial Unicode for the glyphs for the figure space and the thin space (neither of which are in MS TNR), then it no longer works. Admittedly, this would appear to be a problem with the Antenna House interpretation of what we are doing, but it would be simpler anyway to just use a Times font that contains the required characters.

To give some concrete contexts, the figure space is needed for metric / European format numbers (25 365 rather than 25,365) and currency symbols (4 250 $ rather than $4,250), and the thin space is needed inside � French quotes �, on either side of an em dash � yes, that's how we want it � and before a colon at the end of a paragraph in French, like this :
(new para)

On a more general note, I (who am not a typographer) find it both odd and disappointing (actually, appalling) that virtually all modern fonts do not contain the very basic spacing and spacing control characters that are part of the Unicode General Punctuation characters. It seems to me that these are fundamental to any good-quality print products, and it baffles me why they are missing, as in MS TNR. About all that seems to exist in most fonts is the regular space and the no-break space, but since both of these spaces expand on justification (according to the Unicode standard and to typographers I have consulted), they are useless for what we want to accomplish.

Unicode has been around now for quite a long time, and yet the font support that is needed to make it practical to use seems to be sadly lacking. Pity.

Any assistance would be appreciated.

Ed Hicks
ed.hicks@justice.gc.ca
Re: Times font with figure space and thin space?
#758
Author: Aandi_Inston
Date: Mon, 19 Jan 2004 10:01
11 lines
1241 bytes
All Adobe PostScript fonts include both oe and ISOLatin1 - though not
at the same time, since there is no standard Encoding containing both.
PostScript fonts do not typically contain multiple spaces with
different widths - spacing is done by the PostScript program, not by
font choice.

I think you should not be disappointed with fonts, but with the tools
you are using for layout. Things like non-breaking spaces, special
space widths etc. belong in there - not by special font techniques. 

Aandi Inston
Re: Times font with figure space and thin space?
#759
Author: Ed_Hicks
Date: Mon, 19 Jan 2004 14:03
17 lines
3524 bytes
Aandi, thanks for the reply.

It seems as though you are saying that the print engine (Antenna House) should be interpreting these characters and creating the correct spacing and breaking behavior without any glyph in the font. I guess that AH is saying that that is not their job -- we have to find a font with the appropriate glyph, and they will print that glyph. (The fact that changing fonts for this seems to throw off the proper breaking behavior does seem to me to be a bug on the AH side.)

That the font has to supply the glyph seems pretty sensible to me, especially since characters like the thin space are ill-defined (anywhere from 0.25 em to 0.125 em) and you may want to choose the particular rendering of a given font.

I, as a naive user in terms of typography and more particulary PostScript implementation of it, would say that every Unicode character should have a glyph in a font that provides support for that character. Why should spaces be treated in any different way than non-space characters? I want them to work even if I'm just printing the file as a text file. The no-break space has long been treated in this fashion, so why should the others not be? After all, we're only talking about roughly 15 spacing characters.

I realize that most of these spaces expand in certain situations (justification, quadding), and that is part of the print engine's function in terms of padding, but I would say that they all need to have a minimum glyph (even if it is truly minimum -- i.e., zero-width). However, many always have a fixed width for a given font, and it seems to me that particularly in those cases, there should be a glyph for them in a supporting font. Why else would MS Arial Unicode have these glyphs?

The same goes for ligatures -- if they're in Unicode, they should have a glyph in a supporting font. I have read that the Unicode consortium will not accept more ligatures without a very strong case that they are necessary, but that is a different issue -- they are then saying that the creation of those ligatures is a function of the rendering engine. But for any ligatures already in Unicode, it seems to me that there should be a glyph in a supporting font. I don't want to have to rely on PostScript and the vagaries of a particular implementation in order to print the Unicode character that I want.

It may be (as it seems to me from your response) that this was not the expectation of PostScript people (and maybe other rendering technology people) in the past, but that seems to be a perspective from before Unicode. I think that Unicode has (or should have) changed the rules in this regard.

I may be missing the boat on this, but that's the way it seems to me.

Ed Hicks
Re: Times font with figure space and thin space?
#760
Author: Aandi_Inston
Date: Mon, 19 Jan 2004 15:14
25 lines
2198 bytes
>I, as a naive user in terms of typography and more particulary PostScript implementation of it, would say 
>that every Unicode character should have a glyph in a font that provides support for that character. 

You should bear in mind that most PostScript fonts in use, and all
those resident in most printers, are not Unicode fonts (if this phrase
has any meaning). They are type 1 fonts, using technology invented in
1985, and limited to 255 characters per encoding.

You may feel that Unicode should have changed the rules, and in a
sense it has. PostScript supported large fonts from around 1990, but
initially for far eastern languages.  The technology has now been
remodelled and recycled into CID fonts and thence into OpenType.  If
you look for OpenType fonts, you may have better luck.  Standard
PostScript fonts cannot be expected to have newly invented characters.
(Though it seems an exception was made for the euro).

> Why should spaces be treated in any different way than non-space characters? 

In font terms, they shouldn't. But I don't think your expectations of
finding a font to do what you want - at least a PostScript font - are
that likely to succeed.  I definitely feel that typography is the job
of the typographic program.


Aandi Inston
Re: Times font with figure space and thin space?
#761
Author: Ed_Hicks
Date: Mon, 19 Jan 2004 17:14
27 lines
4338 bytes
Aandi, thanks again for your further explanation.

Up front, I will say that there is no need to respond to this -- I am just decrying the "state of the art".

I realize that:

(a) we're caught in a "technology transform" where Unicode has created expectations that are still far from being met in practical applications (for various reasons), and

(b) there are different ways to achieve a desired result (for example, glyphs versus what I would call "character-generated processing instructions", or what you would say is the typographic program doing the typography).

As an example of (a), I have searched for years for a truly competent Unicode text editor, and I have yet to find one. I have tried many, and UltraEdit is the closest thing to fulfilling my needs, but as of a year ago, it still exhibited too many bugs and limitations for me to use, particularly when trying to search and replace Unicode characters using regular expressions. I fall back on using a byte-oriented editor and putting up with using the UTF-8 encodings for the multi-byte characters in my XML files, and learning to read wierd-looking character groupings as something meaningful. It's reminiscent of reading hex memory dumps from an IBM mainframe in 1969, and being able to fairly adeptly interpret assembly language instruction codes in them. (NOT my idea of fun, in either case!)

I relate this to the state of the art in the font industry at the moment.

Obviously, it is not difficult to add support for the space glyphs in a downloaded font, particularly a TrueType font (and I presume a PostScript Type 2 font, and an OpenType font). It is there in MS Arial Unicode, and the space glyphs work fine in the Antenna House application. Trouble is, we don't want Arial, we want Times.

So I accept your explanations, but they don't really explain why someone -- like Adobe or Microsoft -- isn't doing more to fill the void for Unicode characters in many "standard" fonts. I'm not necessarily talking about full Unicode support, but at least for Latin-alphabet languages -- why should a user have to change fonts just to deal with all those languages which have such a similar base? For example, a somewhat-expanded version of Times New Roman that does this would seem to be trivial to provide, and very useful.

(In fact, I would think that the European Union would be pressing for an expanded version of that, including Greek and probably now Cyrillic characters -- with all that they spend on other esoterica, it would be an insignificant expense. Perhaps they have had this done already for numerous fonts -- but probably not, because they're not that well-organized and probably aren't even making extensive use of Unicode yet. ;-))

And of course even applications that are supposedly Unicode-capable underneath, like MS Office, are not really capable in the user interface, so we've got a long way to go.

As someone who has struggled with supporting just the English and French languages from DOS days in the 1980s, including keyboard support as well as printing and application support, I can say that the amount of time that is still taken up with trying to resolve these sorts of problems around the world is absolutely mind-boggling. Yet the cost of resolving them via decent Unicode support would be trivial in comparison. And computer speed, memory and storage space are no longer significant considerations, nor is bandwidth, especially with UTF-8 for Latin-alphabet languages. It is very frustrating!

One can always hope that there is hope for the future!

Ed Hicks
Re: Times font with figure space and thin space?
#762
Author: Aandi_Inston
Date: Tue, 20 Jan 2004 10:02
13 lines
1357 bytes
I think discussion on where fonts are going must focus on OpenType.
But OpenType fonts are NOT PostScript fonts, not even so called
"PostScript OpenType fonts" - you can't use them in a PostScript
program. (They are converted to PostScript dynamically as you print,
just like TrueType fonts).  CID fonts could do things, but nobody in
the west is making them (I think).

Hence, what I've been saying is limited to the PostScript world
inhabited by PostScript programmers. If you want to discuss where
OpenType is coming from and going to, I'd suggest the Typography
forum.

Aandi Inston
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads