Closed s3bk closed 3 months ago
This replaces two unwraps with Results and makes PFCanvasSetFontByPostScriptName return an i32 to indicate success or failure. Intended to fix #553
PFCanvasSetFontByPostScriptName
Yea. This isn't really possible without breaking existing code. I modified it a bit so the underlying errors are available and the unwrap() works.
unwrap()
@jayvdb can you review it again?
This replaces two unwraps with Results and makes
PFCanvasSetFontByPostScriptName
return an i32 to indicate success or failure. Intended to fix #553