10000 [css-text] Cursive shaping breaks (near an image representing a letter) · Issue #3487 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-text] Cursive shaping breaks (near an image representing a letter) #3487

@ntounsi

Description

@ntounsi

May be related to #698
7.3. Shaping Across Element Boundaries
https://drafts.csswg.org/css-text-3/#boundary-shaping

Sometimes a picture is used instead of a letter in a word. For example, a suggestive image in an advertisement or logo etc.
macdolisboasmall

newajitfham
(Taken from https://www.youtube.com/watch?v=MV9-7hxMdb8, at the very beginning)

The big text in Arabic picture above is "أجي تفهم", meaning "come to understand".
The letter Tah ت joins with the Feh ف replaced by a kind of bulb (to suggest a tip/idea).

In HTML, a picture could be an emoji or more likely an <img> element. However, it is an inline element with zero m/b/p. One must use an explicit markup, e.g. zwj or tatweel sign, to get the joined shape.

Should this case (image as letter) be considered at the specification level, or is it an "effective change in formatting", and thus up to the user to try to work around it ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0