W3C home > Mailing lists > Public > public-css-testsuite@w3.org > August 2016

Re: [css-writing-modes-3] [css-inline-3] Need for new Ahem font version with addition of 1 glyph with Vertical_Orientation property set to U

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Tue, 09 Aug 2016 20:11:07 -0400
To: "Myles C. Maxfield" <mmaxfield@apple.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, Public CSS Test suite mailing list <public-css-testsuite@w3.org>
Message-ID: <311b13ade39854e054852218cb716d2a@gtalbot.org>
Le 2016-08-09 16:01, Myles C. Maxfield a écrit :
> Alright, I believe this is fixed now. I’ve tested it on Firefox on Mac
> & Windows, Chrome on Mac & Windows, Safari on Mac, and Edge on
> Windows.
> 
> Please let me know how it works for you!
> 
> Thanks,
> Myles

Myles,

Thank you for working on this request: this is very much appreciated.

Initial test page on the new Ahem font (2016):
http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/Ahem2016TestPage.html

I am using Linux 3.13.0-92-generic x86_64, KDE: 4.13.3, Kubuntu 14.04.4 
LTS (trusty) with Firefox 48 buildID=20160728204513 and Chrome 
52.0.2743.116.

The vertical stripe glyph and horizontal stripe glyph do *not* appear to 
be centered.

You wrote:
> The name of the font is still Ahem, so it probably isn’t possible to 
> install both
> this font and the old font at the same time.

Indeed, it is not possible to install both this font and the old font at 
the same time. So, I wonder if we should not filename-rename this font 
to Ahem2016.ttf . That way, we would be sure of the capability of such 
font. If we later need another version (say, for testing 
text-combine-upright or ruby or some other features), then we could use 
another filename by appending the year date.

You wrote:
> For the vertical and horizontal stripes, I purposely placed them 
> off-center so
> you could tell if the glyph is rotated 180°.

If vertical stripe glyph and horizontal stripe glyph are not centered, 
then I still may not be able to verify if 'text-orientation: mixed' 
glyphs are centrally baseline-aligned. Myles, the test at the source of 
my request for a more powerful, versatile, writing-mode-oriented version 
of the Ahem font is:

http://www.gtalbot.org/BugzillaSection/Bug1289015-glyphs-central-baseline-alignment.html

Load such test in Firefox and Chrome to see and understand the 
difference.

Knowing if the glyph has been rotated 180degrees may be useful... 
although I can not see where or how or in which manner right now...

Gérard


> 
> 
>> On Aug 3, 2016, at 10:14 AM, Myles C. Maxfield <mmaxfield@apple.com> 
>> wrote:
>> 
>> Whoops. Yesterday I only tested with WebKit on a Mac. It looks like 
>> other browsers don't like the font. Please disregard this while I fix 
>> it.......
>> 
>> --Myles
>> 
>> On Aug 2, 2016, at 11:26 PM, Myles C. Maxfield <mmaxfield@apple.com 
>> <mailto:mmaxfield@apple.com>> wrote:
>> 
>>> I believe I have done this.
>>> 
>>> The code used to generate the file can be found at 
>>> https://github.com/litherum/AhemMaker 
>>> <https://github.com/litherum/AhemMaker> (written in Swift). Please 
>>> feel free to modify it in any way you like.
>>> 
>>> I modified the file in the most minimal way possible, without 
>>> changing any of the strings inside the “name” table of the font. The 
>>> name of the font is still Ahem, so it probably isn’t possible to 
>>> install both this font and the old font at the same time.
>>> 
>>> For the vertical and horizontal stripes, I purposely placed them 
>>> off-center so you could tell if the glyph is rotated 180°.
>>> 
>>> The result is attached. Please let me know if you have any problems 
>>> with it.
>>> 
>>> <ahem_myles.ttf>
>>> 
>>>> On Jul 27, 2016, at 2:39 PM, fantasai <fantasai.lists@inkedblade.net 
>>>> <mailto:fantasai.lists@inkedblade.net>> wrote:
>>>> 
>>>> On 07/27/2016 02:42 AM, Myles C. Maxfield wrote:
>>>>>> We need to create a new version of Ahem font
>>>>> 
>>>>> I’m happy to do this. I can probably have it done pretty soon, too.
>>>> 
>>>> Wonderful!
>>>> 
>>>> I think the glyphs we need are:
>>>> 
>>>> 1. Copy the 'X' glyph (1em black square) to the following 
>>>> characters:
>>>>      一二三四五六七八九十〇囗火水木金土
>>>>      U+4E00 U+4E8C U+4E09 U+56DB U+4E94 U+516D U+4E03 U+516B U+4E5D
>>>>      U+5341 U+3007 U+56D7 U+706B U+6C34 U+6728 U+91D1 U+571F
>>>>   This will allow for basic tests to be constructed with upright CJK 
>>>> codepoints.
>>>> 
>>>>   (We could probably get away with just 水 and 囗, but I figure we may 
>>>> as well
>>>>   go with all the digits, a square-like glyph, and the five 
>>>> elements.)
>>>> 
>>>> 2. Create a glyph that is a 20% centered vertical stripe and another 
>>>> that's a
>>>>   20% centered horizontal stripe, both within a 1em square advance.
>>>> 
>>>>   Assign the horizontal stripe to
>>>>     'Χ'  U+03A7
>>>>     '横' U+6A2A
>>>>   and the vertical one to
>>>>     'Υ'  U+03A5
>>>>     '纵' U+7EB5
>>>> 
>>>>   This will make it easy to create CSS tests for upright/sideways 
>>>> orientation.
>>>> 
>>>>   (The comprehensive testing of TR50 data would need to be done with 
>>>> a much
>>>>   bigger font, one with a different design than Ahem. But this will 
>>>> help us
>>>>   for the CSS aspects of orientation.)
>>>> 
>>>> ~fantasai
>>>> 
>>> 

-- 
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html

Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html

Test Templates
http://testthewebforward.org/docs/test-templates.html

CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html

Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html

CSS Metadata
http://testthewebforward.org/docs/css-metadata.html
Received on Wednesday, 10 August 2016 00:11:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:22 UTC