Skip to content

Project: Dyslexia extension #117

@estelle

Description

@estelle

OpenDyslexic/extension#49

OpenDyslexic is an extension used by many people with dyslexia to enable easier reading comprehension. Unforutately, the font only covers a limited, not-defined list of characters.

To prevent "missing character" box icons from showing up when OpenDyslexic is used, add the unicode-range font-descriptor to the @font-face declaration, limiting the font to only the characters in the range in both the chrome and firefox extension.

@font-face {
font-family: 'opendyslexic';
src: url('chrome-extension://MSG@@extension_id_/fonts/opendyslexic/OpenDyslexic-Bold.otf');
font-weight: bold;
font-style: normal;
unicode-range: /* range of characters in OD */
}
@font-face supports the unicode-range font descriptor, which defines the range of characters for which a given face may be used. Adding unicode-range to the above with a value reflecting the available characters in openDislexic (OD) would mean a fallback font would be used for any characters not in the range.

Figuring out the /* range of characters in OD */ is a decently large task that has to be done manually unless someone knows a quick way of doing 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