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

Cannot change font resource folder #21

Closed
GoogleCodeExporter opened this issue Mar 13, 2015 · 2 comments
Closed

Cannot change font resource folder #21

GoogleCodeExporter opened this issue Mar 13, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link
Collaborator

What steps will reproduce the problem?
1.Copy the Fill String demo code
2. Use "go run" to run the code

What is the expected output? What do you see instead?
The code try to get the font data from a specific folder, of cource the folder 
does not exit:
2012/04/19 22:41:21 open ../resource/font/luximbi.ttf: no such file or directory
2012/04/19 22:41:21 open ../resource/font/luxisr.ttf: no such file or directory
width: 0.000000
2012/04/19 22:41:21 open ../resource/font/luximbi.ttf: no such file or directory
2012/04/19 22:41:21 open ../resource/font/luxisr.ttf: no such file or directory
Wrote TestFillString.png OK.
____________________________
How can I edit the location of the font?
I have attach my source file if you need more infomation.


Original issue reported on code.google.com by nvcn...@gmail.com on 19 Apr 2012 at 3:46

Attachments:

@GoogleCodeExporter
Copy link
Collaborator Author

use draw2d.SetFontFolder(folder string)

Original comment by legoff.l...@gmail.com on 19 Apr 2012 at 3:50

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Collaborator Author

Sory, never mind, I just read about SetFontFolder!

Original comment by nvcn...@gmail.com on 19 Apr 2012 at 3:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant