Showing posts with label code snippet. Show all posts
Showing posts with label code snippet. Show all posts
Wednesday, 4 November 2015
How to get a font file from a github repo downloaded by Pharo - code snippet
How to get a font file from a github repo downloaded by Pharo
wd := FileSystem disk workingDirectory .
master := wd / 'github-cache/kilon/ChronosManager/master'.
fontPath := (master children at: 1)/'fonts/Cubellan.ttf'.
fontPath:= (fontPath asString substrings:'@ ') at: 2.
Add Comment
by Dimitris Chloupis
Subscribe to:
Posts (Atom)