-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
definition of character #263
Comments
I think it's important that we maintain consistent terminology with CSS, so where they use 'character', so should we. |
Ok my understanding has improved somewhat since I last commented. Curious @r12a why you recommend referring to a character as a unicode code point? It looks like we need to go through the text chapter and ensure we only use the following terms:
|
I agree "character" is a bit vague (so is "typographic character" but maybe bit less). The definition of "character" is from SVG 1.1. I believe it is meant to correspond to a Unicode point. In terms of input, a 'u' with a combining '`' would be two points while using the preformed 'ù' is one point. This has mostly to do with how the 'x', 'y', ... attributes are matched to the input. |
If it's meant to correspond to an XML character as the description says then it would be equivalent to a 'typographic character' rather than a code point. |
"character" in SVG 1.1 was used in a multiple senses. SVG 2 distinguishes "typographic character" (an indivisible unit, used for rendering) versus "addressable character" (a 2-byte block when normalizing the string to UTF-16, after adjusting for whitespace and display, used for counting). Both are distinct from "Unicode code point", which is what the general definition is referring to. I agree that we should make sure any normative text refers to either typographic character, addressable character, or Unicode code point. The general definition for "character" could also emphasize that the term is a little imprecise, and cross-link to those more specific definitions later in the terms list. |
I think this means I should take an action item to update the extremely outdated /TR publication of CSS3 Text so that you can refer to its definitions. =) (You'll still need your own for addressable character... we don't have that in CSS3 Text.) |
@fantasai Please do update CSS3 Text! That would be very helpful! |
Discussion moved to #537 |
11.1.1. Definitions
https://svgwg.org/svg2-draft/text.html#Definitions
The wording here is still a little vague. We generally recommend referring to a character as a Unicode code point.
We also recommend using specific terms, where available, rather than the general term 'character'.
The text was updated successfully, but these errors were encountered: