Where could one contact Cambria and Calibri authors regarding an issue?

Sylph's picture

Does anybody know?

Theunis de Jong's picture

According to these fonts' properties:

Cambria: "Authors: Monotype Imaging and Tiro Typeworks".
Calibri: "Authors: Luc(as) de Groot"

mike_duggan's picture

hi John, what is the issue?

kentlew's picture

Theunis — Cambria was designed by Jelle Bosma (with Steve Matteson & Robin Nicholas of Monotype). Not sure what Tiro is doing in the font properties. Are you sure you didn’t mistakenly check Constantia (John Hudson’s contribution) instead?

I’m always mixing up those C faces, myself.

mike_duggan's picture

hi Kent, Tiro/John Hudson, did much of the work on the Math additions to the font.

John Hudson's picture

Ross did most of the Cambria Math work, although some of it based on Jelle's initial work. I did most of the the languages extensions for the Win7 versions of Cambria Regular and Italic, with David Březina working on the bold weights.

Sylph's picture

The issue regards capital Cyrillic letters in italics with combining diacritics.

John Hudson's picture

Can you give examples, illustrations of the issue? Also, which versions of the fonts are you using? The initial, Windows Vista versions did not support mark positioning; the Win7 versions do.

Sylph's picture

Hello, John.

Yes, I can give you a screenshot. I've been doing some experimenting in Word (yup) and the issue arose when I wanted to use what Word calls "contextual alternates", ie. italic Cyrillic letters different from Russian ones. In order for that to work, I had to pick as a language the most bizarre thing ever Serbian (Cyrillic, Serbia and Montenegro (former)) and then select standard ligatures and contextual dialogues in Font properties.

This is what I get

The question is: how does one get the correct italics and correctly combined diacritics with capital Cyrillic letters?

Sylph's picture

Which Cambria version is the most recent? 5.93?

John Hudson's picture

Okay, I've looked into this and found a problem in the VOLT source for the Cambria Italic and Cambria Bold Italic fonts: the 'ccmp' feature lookup that substitutes the cap versions of above combining marks for subsequent positioning when preceded by an uppercase letters is not mapped to the feature in the Serbian 'SRB' language system. So far as I can tell, this only affects the Italic and Bold Italic fonts.

Thanks for catching this. I'll get this logged as a bug and will send a fix to Microsoft today. I can't say how or when they will get the fix released, though.

Sylph's picture

Thank you very much! I have to ask: when this gets fixed, will it be available as an Windows (Office) Update? How does Windows update its fonts? And also will this enable these alternates also to be used with the simple Serbian (Cyrillic)?

John Hudson's picture

Sylph, is the issue in Calibri the same? Or did you want to report a different problem?

Sylph's picture

The issue in Calibri is similar. I will post a screenshot.

Could you answer my question: do you know how will Microsoft release the fix? Thank you.

Sylph's picture

They're misplaced, leaning to the right.

In Constantia it doesn't work at all. I haven't checked the other Microsoft typefaces.

John Hudson's picture

I'll ask Microsoft to look into this Calibri issue. It looks like the substitution of the cap accent forms (ccmp) is working fine, but the positioning (mark) is not. Possibly this is another situation with a lookup not being correctly associated with the SRB language system.

This is not expected to work in Constantia: of the original ClearType font collection, only Cambria, Calibri and Consolas were extended and mark positioning added for Windows 7.

I don't know how Microsoft will release a fix. Typically, critical bugs get rolled out using the Windows Update mechanism, but font issues are seldom considered critical in this sense.

Si_Daniels's picture

Thanks John A for reporting the problems with these fonts. As John Hudson indicated, Microsoft is rarely able to update fonts via Windows Update. The fixed fonts will likely ship with the next version of Windows.

Thanks, Si

Sylph's picture

Oh, OK. Thank you, John! I figured that it will ship with the next installment of Windows, as Sii says.

As for Constantia, I was just wondering why do the combining diacritical marks exists when they don't work properly. I thought typeface designers checked if all of that worked well. Segoe is another such typeface.

John Hudson's picture

A subset of combining mark characters are supported in Constantia and many other fonts without mark-to-base GPOS support in order to be able to create precomposed diacritic composites using these glyphs. It would be possible to do the same thing while leaving these glyphs unencoded, but that would result in a bigger fail when these characters occur in text, since the font wouldn't be able to display them at all.

Sylph's picture

Oh, I see. Of course. Thank you for all your help and explanations!

Sylph's picture

Also, in Cambria, is the Combining Ring Below supposed to look like this? With the Cyrillic r it doesn't even show up.

Michel Boyer's picture

Here is what I get with XeLaTeX (Russian left, Serbian right) using Cambria italic.

Sylph's picture

Could you share the document preamble? Why does it differ that much? And how does XeLaTeX know how to use the correct italics forms?

Michel Boyer's picture
\documentclass[12pt]{article}
\usepackage{polyglossia} 
\setmainfont[Script=Cyrillic]{Cambria}
\setdefaultlanguage{russian}
\setotherlanguages{serbian}
\newfontfamily\serbian[Script=Cyrillic,Language=Serbian]{Cambria}
\begin{document}%\color{blue}
\large\itshape
м̥р̥д̥б̥\quad\textserbian{м̥р̥д̥б̥}
\end{document}

That is the full input.

Michel Boyer's picture

The line with \newfontfamily\serbian can be deleted.

John Hudson's picture

Sylph: Also, in Cambria, is the Combining Ring Below supposed to look like this?

What is happening here is that the GPOS mark positioning is moving the mark beyond the OS/2 table usWinDescent value. This means that the mark will be clipped in some software, but not in others. If you are using MS Word, you can prevent this from happening by using an exact size of linespacing in the paragraph settings, rather than a multiple of the default linespacing.

In Michel's image, I'd say that the position of the mark under the default italic д is a bug. Probably my fault, I'm afraid. I think the mark height must be inherited from the upright font, where it needs to be lower because of the descenders of the д.

Sylph's picture

Thank you, Michael and thank you, John. I hope I'm not being too tedious about this.

John, yes, I've searched for your posts about this and managed to find here

http://www.typophile.com/node/61330

the suggestion about leading. With a font size of 12 pt and line spacing set at Exactly 20 pt, this is what happens

Another matter with Cambria is the difference with a U+00E0 character and Cyrillic a with U+0300 (Combining Grave Accent):

XeLaTeX again, with Michael's preamble, does this correctly with the latter.

These characters with the ring below aren't invented – though they are extremely rare. It's used to denote a syllabic consonant, which is usually m, l, r, n.

Charis SIL does this correctly, but it doesn't have the correct italics whereas Gentium Plus does have the feature, but it has to be turned on with the TypeTune tool.

John Hudson's picture

I have to admit that I've almost given up trying to understand how MS Word determines when and where to clip. Setting the linespacing to an exact value appears to do a better job avoiding clipping of marks above than below. Testing the sequence you show, less of the ring is clipped as the linespacing gets larger, but obviously this isn't a viable solution.

Note that this clipping should not occur when you print the document, including printing to PDF: it is the result of how Word paints each line of text on screen.

I'm not able to reproduce the problem you show with Calibri à vs а̀: these display identically in Word 2007 on my system.

Look closely at your image, above: the grave accent on the right appears to be from a different font, so maybe what you are seeing is a copy/paste error. Select the whole word and ensure that the font is Calibri.

dberlow's picture

Seems that language specific metadata for ascent and descent was slain and will never rise from the ashes... But maybe some clever dude(s) or dudette(s) will remedy the situation with a pan-linguistic cross-platform script to help typographers by making that metadata available on the fly... now.

k.l.'s picture

I have to admit that I've almost given up trying to understand how MS Word determines when and where to clip.

But maybe some clever dude(s) or dudette(s) will remedy the situation with a pan-linguistic cross-platform script to help typographers by making that metadata available on the fly...

There is not need to even try understanding it. :) This is clearly an application bug and needs to be fixed by the application developers.
GPOS, and its arbitrary mark stacking mechanism in particular, by design (designed by Microsoft!) contradicts the idea that any font metadata would delimit the vertical region up (or down) to which attachments are visible. And likewise, the suggestion that OS/2 ascent and descent values would need to reflect every possibly additional mark is in contradiction to the idea and design of GPOS.

dberlow's picture

They sure do look stupid. But we owe them time to fix their QA process... again and again and again.

Sylph's picture

I have just checked the typeface version in Windows 8 Consumer Preview, and for Cambria it is still 5.96. Oh, Windows, will you update these fonts?

Sylph's picture

Oops, it's 5.98. Let me see if something has changed.

Sylph's picture

OK, the Cambria issues seem to be fixed in Windows 8 (albeit, one still has to pick a language for a non-existent state, you cannot get the right italics for Serbian (Cyrillic)), the Calibri misplacement of combining diacritics isn't fixed.

It seems also that both still don't have the U+203F character.

HVB's picture

@John Hudson, who last year correctly said, ".. font issues are seldom considered critical in this sense."

A little late to the party, but as far as I know, the only time that MS issued a CRITICAL update for a font was some nine years ago when they removed the hindu/greek/american indian symbol that was a swastika from Bookshelf Symbol 7. If I remember correctly, they first replaced it with a star of David, but later versions have that unicode slot empty.

The inability to create text properly certainly isn't a critical bug to MS.

- Herb

John Hudson's picture

Not quite right, Herb. MS didn't replace the swastika with a star of David; in 2004 they removed two swastikas and the star of David from the font, presumably over GeoPol sensitivities.

[For another client, I once had to replace a six-pointed asterisk with a five-pointed on the grounds that the former might offend Arab customers by resembling the star of David. That was when I instituted the stupidity premium of +25%.]

Sylph's picture

OK, more issues:

http://s10.postimg.org/3xvthn3gp/sshot_66.png

Note the different height of the combining diacritical mark. It doesn't help if one picks the character U + 0450.

You can also copy and paste the following characters

а́ а̀ а̑ а̏ а̄ а̂ е́ ѐ е̑ е̏ е̄ е̂ и́ ѝ и̑ и̏ ӣ и̂ о́ о̀ о̑ о̏ о̄ о̂ у́ у̀ у̑ у̏ ӯ у̂ р́ р̀ р̑ р̏ р̄ р̂ А́ А̀ А̑ А̏ А̂ Е́ Ѐ Е̑ Е̏ Е̂ И́ Ѝ И̑ И̏ И̂ О́ О̀ О̑ О̏ О̂ У́ У̀ У̑ У̏ У̂ Р́ Р̀ Р̑ Р̏ Р̂

and for example zoom in to see the issues with a lot of characters.

John Hudson's picture

Confirmed. There seem to be a number of issues with combining mark anchors on Cyrillic letters in Calibri. In addition to the raised acute on е, there are some incorrect horizontal positioning with the marks too far to the right.

Si_Daniels's picture

Have directed our Calibri program manager to this thread. Thanks for the heads-up.

Si

Sylph's picture

Thank you, John Hudson, for everything regarding this issue! You've really helped me a lot!

And thank you, Si, for directing the manager to the thread.

If you check the corresponding characters in Latin script, you will see that everything is alright. Though, some of these aren't made with combining characters:

á à ȃ ȁ ā â é è ȇ ȅ ē ê í ì ȋ ȉ ī î ó ò ȏ ȍ ō ô ú ù ȗ ȕ ū û ŕ r̀ ȓ ȑ r̄ r̂ Á À Ȃ Ȁ Â É È Ȇ Ȅ Ê Í Ì Ȋ Ȉ Î Ó Ò Ȏ Ȍ Ô Ú Ù Ȗ Ȕ Û Ŕ R̀ Ȓ Ȑ R̂

These aren't invented combinations, they are used in the real world.

Another bizarre issue I have is if I choose Contextual Alternates and choose the language as Serbian (Cyrillic, Montenegro) and convert the document to PDF, it doesn't use the alternate it should shown in the .docx file. But everything works fine if the language is Serbian (Cyrillic, Serbia and Montenegro (Former)).

Sylph's picture

Stuff happens in Cambria, too:

John Hudson's picture

I can't reproduce what you are showing here (the marks slightly too far to the right). This is what it looks like for me, which is by design:

I'm looking at this in Wordpad on Windows Vista.

[I would normally set the relative position of double-acute to the anchor position further left, but the approach to mark positioning in Cambria favoured centring the width of marks rather than having them lean left or right.]

Sylph's picture

OK, I've opened WordPad on Windows 8 and it seems to be appearing correctly:

Why does it happen in Word? It must be language-related again.

Can you check it by changing to all the Serbian Cyrillic language options?

Sylph's picture

Italics in Wordpad:

Is this how it should be?

John Hudson's picture

I guess that depends how you define 'should be'. I'd say that the double grave is too far right, but that seems to be an issue with the default offset of that mark -- which might be intentional --, and not an error in the anchor attachment lookup. I'll look into this and check whether to advise a global adjustment to Microsoft.

Michel Boyer's picture

?!
What I get with textedit and XeLaTeX on my mac (Cambria Italic.ttf, Version 5.96) is not so far to the right:

Sylph's picture

So... What is going on?

I have the version 6.80.

It's been what? Two years since I first started this up? And it couldn't be corrected? Consider also that the new version of both Windows and Office were released in that time period.

Look at Gentium, compared with it, Cambria is too far to the right:

Sylph's picture

Creating these sort of things and messing with VOLT scripts and other font-creating tools, how difficult a job is to make this right? Is it a one-day job, a week-long job, a two-hour job?

dberlow's picture

...a lifetime job? Several generations?

Sylph's picture

You tell me.

Imagine that these symbols were first used by a guy around 1877. And Microsoft introduced the above listed Latin script symbols with diacritics only when they introduced these two typefaces. But for Cyrillic almost 130 years after the introduction they still don't work.

Andreas Stötzner's picture

Byzantine, really byzantine matter.

If even John fails to manage it, there must be something *seriously* wrong. (not on his side, of course)

Based on current technologies we’ll never get rid of such problems I suppose.
I just trap myself imagining that those things being automated by default in the font making application one day. Otherwise, I fear, we’ll never live up to the goal…

sorry for becoming radical again.

Syndicate content Syndicate content