Skip to content
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

[css-fonts-4] How to handle the object replacement character (U+FFFC) #9763

Closed
vitorroriz opened this issue Jan 4, 2024 · 2 comments
Closed
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. css-fonts-4 Current Work

Comments

@vitorroriz
Copy link

At https://www.w3.org/TR/css-fonts-4/#char-handling-issues spec defines how to handle the replacement character (U+FFFD):

When matching the replacement character U+FFFD, user agents may skip the font matching process and immediately display some form of missing glyph symbol, they are not required to display the glyph from the font that would be selected by the font matching process.

I haven't found anything about the object replacement character (U+FFFC). It would be great if we could define the behavior for that.

Should the user agent render it? It is up to the user agent? Should it be deleted?

@fantasai
Copy link
Collaborator

fantasai commented Jan 4, 2024

Absent any compat requirements to the contrary, it should be handled just like any other Symbol-category character and rendered according to the available fonts.

@fantasai fantasai added the css-fonts-4 Current Work label Jan 4, 2024
@svgeesus
Copy link
Contributor

svgeesus commented Jan 5, 2024

Right, there is nothing special about that particular character, it gets rendered by the font matching process same as any other.

@svgeesus svgeesus closed this as completed Jan 5, 2024
@svgeesus svgeesus added the Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. css-fonts-4 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants