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

No comments:

Post a Comment