keymanapp / keymanapp/keyman

bug(web): Bookmarklet should find way to apply embedded font to all elements

Open
#285 1 comment 0 reactions 0 assignees View on GitHub
bug web/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

**Issue by [mcdurdin](https://github.com/mcdurdin)**
_Saturday Oct 5, 2013 at 01:35 GMT_
_Originally opened as KD-133_

----

When the bml loads, it should apply the embedded font to all page elements, in order to maximise the benefit for font linking

----

See also KMW-64; this could be implemented with `@font-face` and `font-family` rules similar to the following:
```
@font-face
{ font-family: 'EgyptianWeb'; src: url("http://r.keymanweb.tavultesoft.local/20/fonts/Gardiner.ttf") format("truetype"); unicode-range: U+13000-134FF; }

@font-face
{ font-family: 'EgyptianWeb'; src: url("http://r.keymanweb.tavultesoft.local/20/fonts/digohweli_1_7.ttf") format("truetype"); unicode-range: U+13A0-13FF; }

@font-face
{ font-family: 'EgyptianWeb'; src: url("http://r.keymanweb.tavultesoft.local/20/fonts/Abyssinica_SIL.ttf") format("truetype"); unicode-range: U+1200-137C,U+1380-1399,U+2D80-2DDE,U+AB01-AB2E; }

p
{ font-family: Times; }
* { font-family: EgyptianWeb !important; }
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.