-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into merge-back-8.2.0
- Loading branch information
Showing
4 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...-opentrons/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> | ||
<fontconfig> | ||
<!-- | ||
- Medium variant is used instead of Regular on Qt apps: | ||
https://bugs.launchpad.net/ubuntu-font-family/+bug/744812 | ||
- Medium and Bold looks the same in certain applications: | ||
https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373 | ||
--> | ||
<match target="scan"> | ||
<test name="fullname" compare="eq"> | ||
<string>Source Han Sans CN Medium</string> | ||
</test> | ||
<edit name="weight" mode="assign"> | ||
<const>demibold</const> | ||
</edit> | ||
</match> | ||
</fontconfig> |
Binary file added
BIN
+16.9 MB
...meta-opentrons/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/SourceHanSansCN-VF.ttf
Binary file not shown.
27 changes: 27 additions & 0 deletions
27
layers/meta-opentrons/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
SUMMARY = "Adobe OpenType region specific font family for Simplified Chinese" | ||
HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | ||
LICENSE = "OFL-1.1" | ||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
|
||
inherit allarch fontcache | ||
|
||
SRC_URI = " \ | ||
file://SourceHanSansCN-VF.ttf \ | ||
file://44-source-han-sans-cn.conf \ | ||
" | ||
SRC_URI[md5sum] = "80056a18882059d0f7d5616a929ca8a8" | ||
SRC_URI[sha256sum] = "e7ed74bc82eddfb62bc9a09b7e850731ea40da8e8a1b530318c3fe395045ae6d" | ||
|
||
do_install() { | ||
install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
install -m 0644 ${WORKDIR}/44-source-han-sans-cn.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
|
||
install -d ${D}${datadir}/fonts/ttf | ||
install -m 0644 ${WORKDIR}/SourceHanSansCN-VF.ttf ${D}${datadir}/fonts/ttf/ | ||
} | ||
|
||
FILES:${PN} = " \ | ||
${sysconfdir}/fonts \ | ||
${datadir}/fonts \ | ||
${datadir}/fonts/ttf \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters