Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcs .addfont seems broken #343

Closed
doutriaux1 opened this issue May 21, 2018 · 0 comments
Closed

vcs .addfont seems broken #343

doutriaux1 opened this issue May 21, 2018 · 0 comments
Assignees
Milestone

Comments

@doutriaux1
Copy link
Contributor

import vcs
x=vcs.init()
x.addfont("FFF_Tusj.ttf")

error:

---------------------------------------------------------------------------
vcsError                                  Traceback (most recent call last)
<ipython-input-6-5fcc821c4fd4> in <module>()
----> 1 x.addfont("FFF_Tusj.ttf")

/git/vcs/vcs/Canvas.pyc in addfont(self, path, name)
   5646             vcs.elements["fontNumber"][i] = name
   5647         if len(nms) == 0:
-> 5648             raise vcsError('No font Loaded')
   5649         elif len(nms) > 1:
   5650             return nms

vcsError: No font Loaded

FFF-Tusj.zip

@doutriaux1 doutriaux1 added the bug label May 21, 2018
@doutriaux1 doutriaux1 added this to the 8.1 milestone May 21, 2018
@doutriaux1 doutriaux1 self-assigned this May 21, 2018
doutriaux1 added a commit that referenced this issue May 25, 2018
fix #343 you can now load a font
fix #345 you can change the default font
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant