Skip to content

Commit 99e15c3

Browse files
dustinkirklandDustin Kirkland
and
Dustin Kirkland
authored
adding some more top level font tests, bump epoch to run tests and re… (#44904)
Couple more font tests Co-authored-by: Dustin Kirkland <dustin.kirkland@chainguard.dev>
1 parent b738c60 commit 99e15c3

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

font-noto.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: font-noto
33
version: "2025.03.01"
4-
epoch: 0
4+
epoch: 1
55
description: Noto fonts
66
dependencies:
77
runtime:
@@ -214,3 +214,8 @@ update:
214214
strip-prefix: noto-monthly-release-
215215
use-tag: true
216216
tag-filter: noto-monthly-release-
217+
218+
test:
219+
pipeline:
220+
- runs: |
221+
apk -L ${{package.name}} | grep "\.ttf$" | xargs -i fc-scan {}

font-util.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: font-util
33
version: 1.4.1
4-
epoch: 2
4+
epoch: 3
55
description: X.org font utilities
66
copyright:
77
- license: LicenseRef-xorg-font-util
@@ -52,3 +52,18 @@ update:
5252
enabled: true
5353
release-monitor:
5454
identifier: 15055
55+
56+
test:
57+
environment:
58+
contents:
59+
packages:
60+
- git
61+
pipeline:
62+
- runs: |
63+
# TODO: To actually test this, we'd need some bdf fonts, from somewhere like: https://github.com/IT-Studio-Rech/bdf-fonts
64+
bdftruncate 2>&1 | grep "^Usage:"
65+
ucs2any 2>&1 | grep "^Usage:"
66+
# Fetch some bdf fonts and operate on them (using the examples in the helper usage)
67+
git clone --depth=1 https://github.com/IT-Studio-Rech/bdf-fonts
68+
ucs2any bdf-fonts/6x13.bdf /usr/share/fonts/X11/util/map-ISO8859-1 iso8859-1
69+
bdftruncate 0x3200 <bdf-fonts/6x13.bdf >bdf-fonts/6x13t.bdf

0 commit comments

Comments
 (0)