Skip to content

Commit

Permalink
Prefer DejaVu instead of Bitstream Vera fonts
Browse files Browse the repository at this point in the history
Prefer the DejaVu fonts, which are derived from Vera and add better
Unicode coverage, which means they are more suitable as fallback
fonts.

For use as fallback fonts it should be enough to have sans, serif, and
monospace variants. Technically CSS also specifies the cursive and
fantasy generic font families, but in practice they are not used often,
and the sans fallback font will be used if there is none more specific.
  • Loading branch information
aperezdc authored and psaavedra committed Oct 27, 2021
1 parent 51c90b7 commit 73fbd3e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ RDEPENDS_packagegroup-wpewebkit-depends-video = " \
RDEPENDS_packagegroup-wpewebkit-depends-extra = " \
ca-certificates \
shared-mime-info \
ttf-bitstream-vera \
ttf-dejavu-sans \
ttf-dejavu-sans-mono \
ttf-dejavu-serif \
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-good-meta \
gstreamer1.0-plugins-bad-meta \
Expand Down
4 changes: 3 additions & 1 deletion recipes-browser/webkitgtk/webkitgtk_2.34.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ SRC_URI[tarball.sha256sum] = "443c1316705de024741748e85fe32324d299d9ee68e6feb340
RRECOMMENDS_${PN} = "${PN}-bin \
ca-certificates \
shared-mime-info \
ttf-bitstream-vera \
ttf-dejavu-sans \
ttf-dejavu-sans-mono \
ttf-dejavu-serif \
${@bb.utils.contains('PACKAGECONFIG', 'video', 'gstreamer1.0-plugins-base-meta gstreamer1.0-plugins-good-meta gstreamer1.0-plugins-bad-meta', '', d)} \
"
RRECOMMENDS_${PN}-bin = "adwaita-icon-theme librsvg-gtk"
Expand Down
4 changes: 3 additions & 1 deletion recipes-browser/wpewebkit/wpewebkit.inc
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ RDEPENDS_${PN} += " \
RRECOMMENDS_${PN} += " \
ca-certificates \
shared-mime-info \
ttf-bitstream-vera \
ttf-dejavu-sans \
ttf-dejavu-sans-mono \
ttf-dejavu-serif \
${PN}-web-inspector-plugin \
${PN}-qtwpe-qml-plugin \
${@bb.utils.contains('PACKAGECONFIG', 'video', 'gstreamer1.0-plugins-base-meta gstreamer1.0-plugins-good-meta gstreamer1.0-plugins-bad-meta', '', d)} \
Expand Down

0 comments on commit 73fbd3e

Please sign in to comment.