Skip to content

Commit 55dd37f

Browse files
committed
Fix fontconfig installation in CI
1 parent 0ca50d3 commit 55dd37f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test
1+
name: test linux
22

33
on:
44
push:
@@ -29,6 +29,7 @@ jobs:
2929
sudo apt-get install -y libharfbuzz-dev
3030
sudo apt-get install -y libfribidi-dev
3131
sudo apt-get install -y libfreetype6-dev
32+
sudo apt-get install -y libfontconfig1-dev
3233
- name: Install Raku Dependencies
3334
run: |
3435
zef install --/test App::Prove6

.github/workflows/macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
brew update
3030
brew install harfbuzz
3131
brew install fribidi
32+
brew install freetype
3233
brew reinstall freetype
3334
- name: Install Raku Dependencies
3435
run: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The module includes classes:
2222
This package depends on Cairo, FontConfig, Font::FreeType, Text::FriBidi and HarfBuzz. Additional fonts may also be required on your system:
2323

2424
- the [freetype](https://www.freetype.org/download.html) native library needs to be on your system to enable Font::FreeType installation
25-
- Text::FriBidi is required for handling of BiDirectional text.
25+
- Text::FriBidi is required for handling of bi-directional text.
2626
- the native `Cairo` library is also needed. See instructions at https://cairographics.org/download/.
2727
- Installation of the [fontconfig](https://www.freedesktop.org/wiki/Software/fontconfig/) native library is also required.
2828

@@ -213,7 +213,7 @@ $surface.write_png: "tmp/ariel-ugly.png";
213213

214214
Note that supported fonts may be backend dependant.
215215

216-
- `HTML::Canvas::To::Cairo` supports almost all common font formats via the FreeType/Cairo itegration
216+
- `HTML::Canvas::To::Cairo` supports almost all common font formats via the FreeType/Cairo integration
217217
- `HTML::Canvas::To::PDF` supports a smaller set of font formats; Fonts with extensions `*.otf`, `*.ttf`, `*.cff`, `*.pfa`, `*.pfb` should work. But resources with extensions `*.woff`, `*.woff2`, and `*.eot` are ignored.
218218

219219
### Font System Loading

0 commit comments

Comments
 (0)