W3C home > Mailing lists > Public > public-i18n-archive@w3.org > January to March 2017

Re: [alreq] How are underlines positioned in Arabic text?

From: Behnam Esfahbod via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Feb 2017 09:43:40 +0000
To: public-i18n-archive@w3.org
Message-ID: <issue_comment.created-279963613-1487151819-sysbot+gh@w3.org>
We discussed underline/overline methods on the 7 February 2017 weekly 
meeting.

Here's a summary:

1) Existing practices (meaning almost any handwriting, lithography, 
movable type, and traditional word processors) puts underline/overline
 below/above all glyph parts (letter parts and diacritics). Therefore,
 this is a desired behavior.

2) We will keep looking for other practices and will document when we 
have good evidence.

3) Based on the samples collected, looks like implementations need to 
find a better way of calculating a position for underline/overline 
based on font data. Most probably, it will use ascend and descend 
values for the positioning.

4) In any case, if the underline/overline collides with ink, the 
prefferred default behavior would be to skip the ink.

5) When skipping ink, it's also preferred to make sure the 
underline/overline drawing does NOT form a short pieces, which could 
be easily mistaken with dots or diacratics. To prevent this, the 
drawing can be skipped for parts with a short width.

-- 
GitHub Notification of comment by behnam
Please view or discuss this issue at 
https://github.com/w3c/alreq/issues/86#issuecomment-279963613 using 
your GitHub account
Received on Wednesday, 15 February 2017 09:43:51 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 18:09:36 UTC