What is the problem?
There are sometimes discrepancies between the fonts on the server and those included in the exported ebooks. There are some variants of fonts missing in the ebooks.
font: padmaa
On the server:
padmaa-Medium-0.5.ttf padmaa.ttf padmaa-Bold.1.1.ttf
In the epub:
padmaa.ttf padmaa-Bold.1.1.ttf
font: DejaVu Sans
On the server:
DejaVuSans-Bold.ttf DejaVuSans-Oblique.ttf DejaVuSans-BoldOblique.ttf DejaVuSans.ttf DejaVuSansCondensed-Oblique.ttf DejaVuSansCondensed-BoldOblique.ttf DejaVuSansCondensed-Bold.ttf DejaVuSans-ExtraLight.ttf DejaVuSansCondensed.ttf
In the epub:
DejaVuSans-Bold.ttf DejaVuSans.ttf
font: DejaVu Sans Mono
On the server:
DejaVuSansMono-Oblique.ttf DejaVuSansMono.ttf DejaVuSansMono-Bold.ttf DejaVuSansMono-BoldOblique.ttf
In the epub:
DejaVuSansMono.ttf DejaVuSansMono-Bold.ttf
font: DejaVu Serif
On the server:
DejaVuSerif-BoldItalic.ttf DejaVuSerifCondensed.ttf DejaVuSerif.ttf DejaVuSerif-Italic.ttf DejaVuSerifCondensed-Italic.ttf DejaVuSerifCondensed-BoldItalic.ttf DejaVuSerifCondensed-Bold.ttf DejaVuSerif-Bold.ttf
In the epub:
DejaVuSerif.ttf DejaVuSerif-Bold.ttf
font: Noto Nastaliq Urdu
On the server:
NotoNastaliqUrdu-Regular.ttf
In the epub:
NotoNastaliqUrdu-Bold.ttf
(This difference I don't understand...)
Steps to reproduce problem
- Download https://wsexport-test.wmflabs.org/?lang=beta&page=Font_tests&format=epub-3&fonts=DejaVu+Sans
- Unzip the epub and look in OPS/fonts/
Expected behavior: Should include all the font variants (as listed above).
Observed behavior: Only contains two font variants (listed above).
Acceptance Criteria
- Provide all fonts available on server as available options in exported books