-
Notifications
You must be signed in to change notification settings - Fork 772
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
Font selection not working (From SF #129) #23
Comments
This bug does not appear for me on Fedora 15, though I do get a PANGO warning: (xournalpp:11126): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common' |
I can't replicate this problem so I'll close this for now. |
I think that the callback is not connected properly. This should work as a fix: |
Putting this fix into the next commit (I still can't replicate this bug so hopefully someone else can check). PS What did you use to alter the indentation in your commit x2b/xournalpp@282ef2788, @x2b? I can't easily patch it into master because it was applied to addpoppler, and because of that git am is breaking on all of your patches. Probably just doing what you did on master will catch things up. |
Well, as I mentioned in the commit, I used "artistic style" (http://astyle.sourceforge.net/):
I think it is a quite powerful tool. I generally work alone on software projects, I realize now that unilaterally changing pretty much every single file might not have been such a good idea... However, I would still like to fix those insane includes (#include "../../model/PageRef.h"). I think this can be done automatically as well. |
You're right, I'm impressed with astyle. If you find the command to fix includes let me know and I can apply it starting from master to avoid merge conflicts! I'll take your word that this callback was a fix for the font problem and close this bug. |
for Xournal++ 0.9.1
There seems to be no effect from Tools > Text Font. It neither changes the font of subsequent text input, nor does it change the font of a selected bit of text.
The only way I find to change font, is by editing it manually in ./xournalpp/settings.xml. But that just changes the default font, and does not allow for comfortably using multiple fonts in one document.
The text was updated successfully, but these errors were encountered: