Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type cast from PangoFont to PangoFcFont
The original code crashes in pango_fc_font_get_glyph on MacOS with M1. Replacing the type cast with the macro made for that conversion gives at least an error message before crashing: (process:12546): GLib-GObject-WARNING **: 08:38:02.472: invalid cast from 'PangoCairoCoreTextFont' to 'PangoFcFont' zsh: segmentation fault ./pango_font_info_test Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Loading branch information