Skip to content

Commit 82945eb

Browse files
authored
Merge pull request #207 from ChiaChing-Yen/fix/tag-font-installation
Fix/tag font installation
2 parents 2491e62 + ba148ad commit 82945eb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
346346
* All color representations are now in `compas.colors.Color`.
347347
* Reduce the `numpy.array` representation. Mostly use `list` instead for clarity.
348348
* Comments improved and better type hints.
349+
* Fixed issue [#200](https://github.com/compas-dev/compas_viewer/issues/200) by adding installation package path.
349350

350351
### Removed
351352
* Removed `self.objects` from the `Render` class.`

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ where = ["src"]
5454

5555
[tool.setuptools.package-data]
5656
compas_viewer = ['config.json']
57-
"compas_viewer.assets" = ["*.svg", "*.png", "*.ttf"]
57+
"compas_viewer.assets" = ["*.svg", "*.png"]
58+
"compas_viewer.assets.fonts" = ["*.ttf"]
5859
"compas_viewer.renderer.shaders" = ["*.vert", "*.frag"]
5960

6061
# ============================================================================

0 commit comments

Comments
 (0)