Skip to content

Commit

Permalink
feat(reason-skia): bind to sk_fontmgr_t (#900)
Browse files Browse the repository at this point in the history
* Skia: add FontManager type

* Make returned typeface optional

* Unref the typeface we get from the manager when we're done

* Update lockfiles

* Add font discovery example in Skia CLI

* Add delete function for FontManager

* Refactor problematic font-manager out of SkiaCli

* Add SkiaFontManagerCli to CI
  • Loading branch information
zbaylin authored Jun 6, 2020
1 parent 12fb2dc commit 8fd380c
Show file tree
Hide file tree
Showing 26 changed files with 259 additions and 1,042 deletions.
4 changes: 4 additions & 0 deletions .ci/esy-build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ steps:
displayName: '@esy @examples x SkiaCli'
- script: esy @examples x SkiaCli.bc
displayName: '@esy @examples x SkiaCli.bc'
- script: esy @examples x SkiaFontManagerCli
displayName: 'esy @examples x SkiaFontManagerCli'
- script: esy @examples x SkiaFontManagerCli.bc
displayName: 'esy @examples x SkiaFontManagerCli.bc'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@ _esy/
.DS_Store

skia-c-example.png
skia-font-manager-output.png
336 changes: 132 additions & 204 deletions examples.esy.lock/index.json

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

48 changes: 0 additions & 48 deletions examples.esy.lock/opam/ocaml-secondary-compiler.4.08.1-1/opam

This file was deleted.

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions examples.esy.lock/opam/ocamlfind-secondary.1.8.1/opam

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8fd380c

Please sign in to comment.