andymeneely / squib

A Ruby DSL for prototyping card games.
http://squib.rocks
MIT License
918 stars 67 forks source link

Error: undefined method `new_for_font_type' for free type font face #333

Open goseinthemachine opened 3 years ago

goseinthemachine commented 3 years ago

I am submitting this as a reference issue. Just in case if anyone else comes across a similar issue. On macOS Big Sure I was having an issue loading the freetype font map in the Pango project which is a dependency of squib. This would throw the undefined methodnew_for_font_type'` error. I have linked the issue I created on the ruby-gnome repo that also suggests a work around to get people going if they run into the same issue.

ruby-gnome/ruby-gnome#1429

andymeneely commented 3 years ago

Ah, looks like a new version fixes this - I'll cut a new version of Squib later today to use the latest.