-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
%s -> %r else if invalid char unable to print error #4551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
attn: @mdboom On Tue, Jun 23, 2015 at 2:12 PM, mdipierro [email protected] wrote:
|
Looks reasonable to me, what conditions caused this to matter? |
I upgraded anaconda on Mac and I started getting: Found an unknown keyword in AFM header (was Georgia) After the change the output was: Found an unknown keyword in AFM header (was 'Georgia') I am not sure how and were \xa9 got in there. It does not happen in my code. |
No, that is coming out of parsing the AFM files. Can you tell which font it is that is causing trouble? For reference the offending character: In [12]: print('\xa9')
© |
thanks for responding so quickly. :-) |
If you can get into debug mode you can walk the trace back up until it shows you the file path in |
... does it help? |
It looks like the offending file is |
FIX: handle printing warning for non-ascii in afm headers
@mdipierro Thank you! |
Thank you. Sorry for not responding sooner. |
No description provided.