Skip to content
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

Incorrect GUI font rendering #667

Closed
diman8 opened this issue Nov 8, 2018 · 21 comments
Closed

Incorrect GUI font rendering #667

diman8 opened this issue Nov 8, 2018 · 21 comments
Projects

Comments

@diman8
Copy link

diman8 commented Nov 8, 2018

Synfig version & platform:
1.2.2
Windows 10 Home (1803) (Default language: English)

Issue description:
After installing GUI font is rendering with strange symbols rather than letters.
1
2

After switching language to English this issue is almost gone (only title name of the file is corrupt).
3

@ice0
Copy link
Collaborator

ice0 commented Nov 11, 2018

Hi! Which version of Synfig you are using (32/64)?
Can you run Synfig Studio (Debug Console) and show it's output?

@Tiromh
Copy link

Tiromh commented Jan 5, 2019

Hi ! Same issue !

Synfig Studio -- démarrage de l'application...

synfig(11004) [11:39:07] info: Démarrage du sous système "Sound"
synfig(11004) [11:39:07] info: Démarrage du sous système "Types"
synfig(11004) [11:39:07] info: Starting Subsystem "Rendering"
synfig(11004) [11:39:07] info: rendering threads 12
synfig(11004) [11:39:07] info: Démarrage du sous-système "Modules"
synfig(11004) [11:39:07] info: Démarrage du sous-système "Layers"
synfig(11004) [11:39:07] info: Démarrage du sous-système "Targets"
synfig(11004) [11:39:08] info: Démarrage du sous-système "Importers"
synfig(11004) [11:39:08] info: Démarrage du sous système "Cairo Importers"
#[33msynfig(11004) [11:39:08] avertissement: Cannot open ./synfig_modules.cfg#[0m
#[33msynfig(11004) [11:39:08] avertissement: Cannot open /build/packet/win-64/synfigcore-master/install/etc/synfig_modules.cfg#[0m
synfig(11004) [11:39:08] info: Chargement des modules depuis C:\Program Files\Synfig/etc/synfig_modules.cfg
synfig(11004) [11:39:08] info: Chargement des modules depuis C:\Program Files\Synfig/etc/synfig_modules.cfg
synfig(11004) [11:39:08] info: Loading lyr_std..
synfig(11004) [11:39:08] info: Tentative d'enregistrement de "lyr_std"
synfig(11004) [11:39:08] info: Module "lyr_std" trouvé
synfig(11004) [11:39:08] info: Succès pour "lyr_std"
synfig(11004) [11:39:08] info: Loading lyr_freetype..
synfig(11004) [11:39:08] info: Tentative d'enregistrement de "lyr_freetype"
synfig(11004) [11:39:08] info: Module "lyr_freetype" trouvé
synfig(11004) [11:39:08] info: Initializing FreeType...
synfig(11004) [11:39:08] info: Succès pour "lyr_freetype"
synfig(11004) [11:39:08] info: Loading mod_geometry..
synfig(11004) [11:39:08] info: Tentative d'enregistrement de "mod_geometry"
synfig(11004) [11:39:08] info: Module "mod_geometry" trouvé
synfig(11004) [11:39:08] info: Succès pour "mod_geometry"
synfig(11004) [11:39:08] info: Loading mod_gradient..
synfig(11004) [11:39:08] info: Tentative d'enregistrement de "mod_gradient"
synfig(11004) [11:39:08] info: Module "mod_gradient" trouvé
synfig(11004) [11:39:08] info: Succès pour "mod_gradient"
synfig(11004) [11:39:08] info: Loading mod_particle..
synfig(11004) [11:39:08] info: Tentative d'enregistrement de "mod_particle"
synfig(11004) [11:39:08] info: Module "mod_particle" trouvé
synfig(11004) [11:39:08] info: Succès pour "mod_particle"
synfig(11004) [11:39:08] info: Loading mod_example..
synfig(11004) [11:39:08] info: Tentative d'enregistrement de "mod_example"
synfig(11004) [11:39:08] info: Module "mod_example" trouvé
synfig(11004) [11:39:08] info: Succès pour "mod_example"
synfig(11004) [11:39:08] info: Loading mod_gif..
synfig(11004) [11:39:08] info: Tentative d'enregistrement de "mod_gif"
synfig(11004) [11:39:08] info: Module "mod_gif" trouvé
synfig(11004) [11:39:09] info: Succès pour "mod_gif"
synfig(11004) [11:39:09] info: Loading mod_imagemagick..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_imagemagick"
#[33msynfig(11004) [11:39:09] avertissement: Impossible de trouver le module "mod_imagemagick" (Le module spécifié est introuvable.)#[0m

(synfigstudio.exe:11004): Pango-#[1;33mWARNING#[0m **: Invalid UTF-8 string passed to pango_layout_set_text()
synfig(11004) [11:39:09] info: Loading mod_magickpp..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_magickpp"
synfig(11004) [11:39:09] info: Module "mod_magickpp" trouvé
synfig(11004) [11:39:09] info: Succès pour "mod_magickpp"
synfig(11004) [11:39:09] info: Loading mod_mng..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_mng"
#[33msynfig(11004) [11:39:09] avertissement: Impossible de trouver le module "mod_mng" (Le module spécifié est introuvable.)#[0m

(synfigstudio.exe:11004): Pango-#[1;33mWARNING#[0m **: Invalid UTF-8 string passed to pango_layout_set_text()
synfig(11004) [11:39:09] info: Loading mod_noise..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_noise"
synfig(11004) [11:39:09] info: Module "mod_noise" trouvé
synfig(11004) [11:39:09] info: Succès pour "mod_noise"
synfig(11004) [11:39:09] info: Loading mod_filter..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_filter"
synfig(11004) [11:39:09] info: Module "mod_filter" trouvé
synfig(11004) [11:39:09] info: Succès pour "mod_filter"
synfig(11004) [11:39:09] info: Loading mod_ffmpeg..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_ffmpeg"
synfig(11004) [11:39:09] info: Module "mod_ffmpeg" trouvé
synfig(11004) [11:39:09] info: Succès pour "mod_ffmpeg"
synfig(11004) [11:39:09] info: Loading mod_bmp..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_bmp"
synfig(11004) [11:39:09] info: Module "mod_bmp" trouvé
synfig(11004) [11:39:09] info: Succès pour "mod_bmp"
synfig(11004) [11:39:09] info: Loading mod_dv..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_dv"
synfig(11004) [11:39:09] info: Module "mod_dv" trouvé
synfig(11004) [11:39:09] info: Succès pour "mod_dv"
synfig(11004) [11:39:09] info: Loading mod_png..
synfig(11004) [11:39:09] info: Tentative d'enregistrement de "mod_png"
synfig(11004) [11:39:10] info: Module "mod_png" trouvé
synfig(11004) [11:39:10] info: Succès pour "mod_png"
synfig(11004) [11:39:10] info: Loading mod_ppm..
synfig(11004) [11:39:10] info: Tentative d'enregistrement de "mod_ppm"
synfig(11004) [11:39:10] info: Module "mod_ppm" trouvé
synfig(11004) [11:39:10] info: Succès pour "mod_ppm"
synfig(11004) [11:39:10] info: Loading mod_openexr..
synfig(11004) [11:39:10] info: Tentative d'enregistrement de "mod_openexr"
#[33msynfig(11004) [11:39:10] avertissement: Impossible de trouver le module "mod_openexr" (Le module spécifié est introuvable.)#[0m

(synfigstudio.exe:11004): Pango-#[1;33mWARNING#[0m **: Invalid UTF-8 string passed to pango_layout_set_text()
synfig(11004) [11:39:10] info: Loading mod_jpeg..
synfig(11004) [11:39:10] info: Tentative d'enregistrement de "mod_jpeg"
synfig(11004) [11:39:10] info: Module "mod_jpeg" trouvé
synfig(11004) [11:39:10] info: Succès pour "mod_jpeg"
synfig(11004) [11:39:10] info: Loading mod_libavcodec..
synfig(11004) [11:39:10] info: Tentative d'enregistrement de "mod_libavcodec"
#[33msynfig(11004) [11:39:10] avertissement: Impossible de trouver le module "mod_libavcodec" (Le module spécifié est introuvable.)#[0m

(synfigstudio.exe:11004): Pango-#[1;33mWARNING#[0m **: Invalid UTF-8 string passed to pango_layout_set_text()
synfig(11004) [11:39:10] info: Loading mod_yuv420p..
synfig(11004) [11:39:10] info: Tentative d'enregistrement de "mod_yuv420p"
synfig(11004) [11:39:10] info: Module "mod_yuv420p" trouvé
synfig(11004) [11:39:10] info: Succès pour "mod_yuv420p"
synfig(11004) [11:39:10] info: Loading mod_svg..
synfig(11004) [11:39:10] info: Tentative d'enregistrement de "mod_svg"
synfig(11004) [11:39:10] info: Module "mod_svg" trouvé
synfig(11004) [11:39:10] info: Succès pour "mod_svg"
synfig(11004) [11:39:10] info: FINI
synfig(11004) [11:39:10] info: Chargement de la Configuration Basique...
synfig(11004) [11:39:10] info: Chargement des Modules...
synfig(11004) [11:39:10] info: Loading plugins from C:/Program Files/Synfig/share\synfig\plugins
synfig(11004) [11:39:10] info: Loading plugin: add-skeleton-simple
synfig(11004) [11:39:10] info: Loading plugin: view-unhide-all-layers
synfig(11004) [11:39:10] info: Loading plugins from C:\Users\romai/Synfig\plugins
synfig(11004) [11:39:10] info: Initialisation du Gestionnaire d'Interface..
synfig(11004) [11:39:11] info: Initialisation du Gestionnaire d'Onglet..
synfig(11004) [11:39:11] info: Initialisation du Gestionnaire d'Ã%tat...
synfig(11004) [11:39:11] info: Initialisation de la Fenêtre Principale...
synfig(11004) [11:39:11] info: Initialisation de la Boîte à Outils...
synfig(11004) [11:39:11] info: Initialisation du Dialogue "à propos"...
synfig(11004) [11:39:11] info: Initialisation des Options des Outils...
synfig(11004) [11:39:11] info: Initialisation de l'Historique...
synfig(11004) [11:39:11] info: Initialisation des Canevas...
synfig(11004) [11:39:11] info: Initialisation des Images Clés...
synfig(11004) [11:39:11] info: Initialisation des Calques...
synfig(11004) [11:39:11] info: Initialisation des Paramètres...
synfig(11004) [11:39:11] info: Initialisation des Métadonnées...
synfig(11004) [11:39:11] info: Initialisation de la Bibliothèque...
synfig(11004) [11:39:11] info: Initialisation du Dialogue d'Info...
synfig(11004) [11:39:11] info: Initialisation du Navigateur...
synfig(11004) [11:39:11] info: Initialisation de l'Axe de Temps...
synfig(11004) [11:39:11] info: Initialisation de l'Ã%diteur de Courbes...
synfig(11004) [11:39:11] info: Initialisation Lots de Calques....
synfig(11004) [11:39:11] info: Initialisation du Dialogue de Couleur...
synfig(11004) [11:39:11] info: Initialisation du Dialogue de Dégradé...
synfig(11004) [11:39:11] info: Initialisation du Traqueur de Périphériques...
synfig(11004) [11:39:11] info: Initialisation de ModPalette
synfig(11004) [11:39:11] info: Initialisation du Dialogue de Configuration...
synfig(11004) [11:39:11] info: Initialisation du Dialogue d'Entrée...
synfig(11004) [11:39:11] info: Initialisation de l'auto-restauration...
synfig(11004) [11:39:11] info: Chargement de la Configuration...
synfig(11004) [11:39:12] info: Initialisation des Outils...
synfig(11004) [11:39:12] info: Vérification de l'auto-restauration...
synfig(11004) [11:39:13] info: Fini.

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: Could not find the icon 'missing-image-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: Allocating size to gtkmm__GtkNotebook 000000000CB45720 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: drawing failure for widget 'gtkmm__GtkWindow': cairo_restore() without matching cairo_save()

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: Allocating size to gtkmm__GtkNotebook 000000000CB45720 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: drawing failure for widget 'gtkmm__GtkWindow': cairo_restore() without matching cairo_save()

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: drawing failure for widget 'gtkmm__GtkWindow': cairo_restore() without matching cairo_save()

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: Allocating size to gtkmm__GtkNotebook 000000000CB45720 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: drawing failure for widget 'gtkmm__GtkWindow': cairo_restore() without matching cairo_save()

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: Allocating size to gtkmm__GtkNotebook 000000000CB45720 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio.exe:11004): Gtk-#[1;33mWARNING#[0m **: drawing failure for widget 'gtkmm__GtkWindow': cairo_restore() without matching cairo_save()

@Tiromh
Copy link

Tiromh commented Jan 5, 2019

SynfigStudio-1.2.2-18.09.14-win64-286f1

@BobSynfig
Copy link
Collaborator

Just had the opportunity to install it on a Win10 Home french edition, same as @Tiromh.
Same version of Synfig setup (as .exe and .zip).
I don't have any display error in Synfig, the same artifacts in console nevertheless...
I also checked after install fonts droid-sans missing on the system.
But everything is fine!

@Tiromh
Copy link

Tiromh commented Jan 6, 2019

Not for me :'(

@BobSynfig
Copy link
Collaborator

BobSynfig commented Jan 8, 2019

I found there are some incompatibilities with Droid font family (not available in all the languages).

Please edit c:\Program Files\Synfig\share\gtk-3.0\settings.ini with Notepad++ (the file has Linux LF end of lines)

Replace gtk-font-name = Droid Sans 8
with gtk-font-name = Sans 8 or gtk-font-name = Segoe UI 8

Also be sure of your settings in Control Panel / Region / Administration, button Modify:
Set the non-unicode support to your own language and UNCHECK beta support for unicode UTF-8
You will have to restart your computer after this operation

Then restart Synfig

Please test and report
Edit: modified etc ->share

@Tiromh
Copy link

Tiromh commented Jan 8, 2019

Whouaaaa :)

it's work :)

just not : c:\Program Files\Synfig\etc\gtk-3.0
but : C:\Program Files\Synfig\share\gtk-3.0\

Thanks a lot :)

@BobSynfig
Copy link
Collaborator

@Tiromh Thank you for your quick test!
@morevnaproject
We should use a different font
It was a bit my fault if it had been included in Synfig 😄
https://forums.synfig.org/t/change-synfig-gui-font-in-win-8-1-dpi-related/3730

@Tiromh
Copy link

Tiromh commented Jan 8, 2019

Bravo!, Well done!, Attaboy! ;)

thanks for your quick tips and to have solved my problem

now i can get started :)

BobSynfig added a commit to BobSynfig/synfig that referenced this issue Jan 12, 2019
morevnaproject pushed a commit to morevnaproject/synfig that referenced this issue Jan 12, 2019
@morevnaproject
Copy link
Member

Fix merged now. Thank you @BobSynfig! ^__^

@morevnaproject morevnaproject added this to In Progress in Releases Jan 17, 2019
@BobSynfig
Copy link
Collaborator

morevnaproject added a commit to morevnaproject/morevna-builds that referenced this issue Feb 2, 2019
@morevnaproject
Copy link
Member

@BobSynfig Oh, I completely forgot that we have settings file duplicated in this repo. Fixed now. Thank you so much!

@morevnaproject
Copy link
Member

Ok, I just have eliminated the duplication of settings.ini. Now it is in synfig's source only.

@morevnaproject morevnaproject moved this from In Progress to Done in Releases Feb 9, 2019
@ankit-kumar-dwivedi
Copy link
Member

@morevnaproject Closing this one!

@morevnaproject
Copy link
Member

@ankit-kumar-dwivedi Thank you! ^__^

@morevnaproject morevnaproject moved this from Done to Released in Releases Nov 8, 2019
@jozsefk9
Copy link

jozsefk9 commented Jan 1, 2021

How do you do this in Linux?

@rodolforg
Copy link
Contributor

@jozsefk9 Are you using new stable version 1.4.0?
No fix was done for 1.2.x

@jozsefk9
Copy link

jozsefk9 commented Jan 1, 2021

@rodolforg Now I got the stable version 1.4.0 and the fonts in the menu and everywhere is weird. System is Kubuntu 20.04 64bit. Can't find a way to change the interface font.
synfig

@rodolforg
Copy link
Contributor

rodolforg commented Jan 1, 2021

Actually, I don't know how to deal with appimage. =/
I tested here with appimage and everything seems fine.

@morevnaproject @BobSynfig @ice0

@ice0 ice0 reopened this Jan 2, 2021
@jozsefk9
Copy link

jozsefk9 commented Jan 2, 2021

@jozsefk9 can you check if problem exist in updated builds?

@ice0 That worked! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Releases
Released
Development

No branches or pull requests

9 participants