Feature Request: Need a method for font styles in editable text to have fallback fonts
https://bugs.webkit.org/show_bug.cgi?id=12793
Summary Feature Request: Need a method for font styles in editable text to have fallb...
Dan Wood
Reported 2007-02-16 12:02:35 PST
Currently when fonts are set in editable text, just that font face is set. However, good HTML practice involves specifying one or more fallback fonts, with the last one being a generic name like 'serif' and 'sans-serif'. I would suggest a couple of options: A delegate method where the controller can specify a list of font faces to use when a particular font face is requested -- this will provide quite a bit of flexibility. Another approach would be to have the traits of the font examined to determine automatically if it's serif, sans-serif, monospace, or fantasy as a fallback.
Attachments
Ahmad Saleem
Comment 1 2022-12-16 16:22:46 PST
@rniwa - Do we need to track this as feature request or we can close this? Thanks!
Note You need to log in before you can comment on or make changes to this bug.