Comments (21)
Hi,
can you please check in %LocalAppData%\gcompris\GCompris.conf (you can type this directly in the file explorer) the value of "font" under [%General] section please? If it it not "Andika-R.otf", can you please set it to this: font=Andika-R.otf
and run again GCompris (you need to update the file whiile GCompris is not running).
By default, we use a font that we ship so it should be available on all systems.
If it does not work, can you go in the GCompris configuration (once GCompris is started, the blue tool on the bottom). There is one button that corresponds to the font selection: https://lafibre.info/testdebit/linux/202005_gcompris_20.png ("Choisir la police" in the image). Can you check if changing it here is better?
from gcompris-qt.
can you please check in %LocalAppData%\gcompris\GCompris.conf (you can type this directly in the file explorer) the value of "font" under [%General] section please? If it it not "Andika-R.otf", can you please set it to this:
font=Andika-R.otf
and run again GCompris (you need to update the file whiile GCompris is not running).
I confirm, in configuration file font is font=Andika-R.otf
.
By default, we use a font that we ship so it should be available on all systems.
I've looked on disk, bu there's no Andika-R.otf
font file anywhere... I've tried to set a different font (eg, Arial.ttf
or another .otf
font in disk) but nothing changed.
If it does not work, can you go in the GCompris configuration (once GCompris is started, the blue tool on the bottom). There is one button that corresponds to the font selection: https://lafibre.info/testdebit/linux/202005_gcompris_20.png ("Choisir la police" in the image). Can you check if changing it here is better?
This is the configuration screen i see...
from gcompris-qt.
I've also tried 32bit version (on the same Win7 64bit machine), and also i've tried to enable Add gcompris-qt to the system PATH for al users
install option; same behaviour.
from gcompris-qt.
This is very weird, first time someone reports this.
Can you try, in the Font selection panel ("Selezione dei caratteri" in your screenshot), to select any different font, and then close the configuration page either with Enter key or pressing the green button at the top to validate your changes. Maybe try a few different ones to be sure.
from gcompris-qt.
Not all fonts seems to work (eg, some other fonts behave like Andika-R
) but most do.
In config file i got:
font=Arial
isCurrentFontEmbedded=false
where the original/startup file had:
font=Andika-R.otf
isCurrentFontEmbedded=true
from gcompris-qt.
Thanks for testing, good that it works with other fonts.
A wild guess is that it could be an issue with OTF fonts support on your system, either system-wide or specifically in GCompris.
As we didn't have other people reporting such issue (and I'm sure we have many other users using windows7), I would classify this as a local bug, unless more people report the same in the future.
from gcompris-qt.
Three question/point:
- this is a pretty standard Win7 Pro 64bit box, and i use some other OTF files. Could be a local bug, surely, but it is really strange...
- font could be incompatible, but surely it is not present on disk... i don't know how on this box the installer does not install that font, but surely does not...
- AFAI've understood, if gcompris does not find the font, it takes the first font in list, in this box Abaco, that is effectively a symbol font. I think could be smarter...
I've tried to look for the installer log, to found if there's some error (not copy font because...) but i've not found it...
Thanks.
from gcompris-qt.
I've just tried with a Win10 (20H2) 64bit box. Works as expected.
So seems at least a Win7 trouble here...
from gcompris-qt.
Thanks for the investigation details.
The font is not copied as-is but, as for all the resources, is included inside an .rcc file, so it's normal that you can't find the file.
But I'm sure that at least it used to work on windows 7... I don't have anymore a windows7 system here to reproduce, maybe @petitlapin has one.
from gcompris-qt.
Thanks for the investigation details.
Thanks to you!
The font is not copied as-is but, as for all the resources, is included inside an .rcc file, so it's normal that you can't find the file.
Ah! This explain also isCurrentFontEmbedded=true
... ;-)
But I'm sure that at least it used to work on windows 7... I don't have anymore a windows7 system here to reproduce, maybe @petitlapin has one.
OK, i'll wait for feedback... indeed, because Win7 is currently EOL, i think that a safe options would be also simply deprecate Win7 support...
from gcompris-qt.
I've just tested in a clean VM Win7 32bits and it displays fine. (I can only test "Safe mode" because no openGL but as you said it does not impact...).
I'm not sure if we want to dig more, but if we want, the next step would be to compile again GCompris in Console mode and check if there are output logs that could help.
from gcompris-qt.
I've just tested in a clean VM Win7 32bits and it displays fine. (I can only test "Safe mode" because no openGL but as you said it does not impact...).
In Font Selection screen, what is the first font listed? Could be that the error is the same, but your first font is not a symbol one?
I'm not sure if we want to dig more, but if we want, the next step would be to compile again GCompris in Console mode and check if there are output logs that could help.
If you can provide a binary, i can do some tests...
from gcompris-qt.
Font selector:
with Andika:
with Aharoni (first font):
If you can provide a binary, i can do some tests...
Unfortunately, on my side, I can't build a Windows binary, @Animtim is it something you want to investigate more? Removing the WIN32 in https://invent.kde.org/education/gcompris/-/blob/master/src/core/CMakeLists.txt#L94 should do the job to have a CONSOLE executable (and thus logs).
from gcompris-qt.
Font selector:
OK, but if you remove %LocalAppData%\gcompris\GCompris.conf
and rerun gcompris, what font get selected? Andika (embedded one) or Aharoni (the first non-embedded font, that in this case is a normal, non-symbol font)?
Unfortunately, on my side, I can't build a Windows binary, @Animtim is it something you want to investigate more? Removing the WIN32 in https://invent.kde.org/education/gcompris/-/blob/master/src/core/CMakeLists.txt#L94 should do the job to have a CONSOLE executable (and thus logs).
If you can provide a binary, say me Thanks.
from gcompris-qt.
Here is a debug build. It's maybe not perfect as I tested it once and it got stuck when closing the application (I had to force-quit it), but at least it starts in a console with the logs, so it should be enough to see if there's any relevant error in the log.
https://gcompris.net/download/qt/windows/debug/gcompris-qt-1.1-win64-gcc-debug.exe
from gcompris-qt.
Done, screenshot with error attached.
from gcompris-qt.
OK, but if you remove
%LocalAppData%\gcompris\GCompris.conf
and rerun gcompris, what font get selected? Andika (embedded one) or Aharoni (the first non-embedded font, that in this case is a normal, non-symbol font)?
Andika.
Looking at the log you provided, it does not manage to load the Andika font. Can you try OpenDyslexic on your system? Both otf and ttf?
If both fail, it may be an issue with embedded fonts. If only otf fails, it may be an issue with otf on your system. If both works, I don't know :)
Also, can you install Andika on your system (from https://software.sil.org/andika/download/) and select this one too to double check if it comes from the font or the embed part?
from gcompris-qt.
Looking at the log you provided, it does not manage to load the Andika font. Can you try OpenDyslexic on your system? Both otf and ttf?
If both fail, it may be an issue with embedded fonts. If only otf fails, it may be an issue with otf on your system. If both works, I don't know :)
Only OpenDyslexic TTF seems to work... screen attached.
Also, can you install Andika on your system (from https://software.sil.org/andika/download/) and select this one too to double check if it comes from the font or the embed part?
Installed, i can see it on font control panel but not show up in GCompris font list...
Mah...
from gcompris-qt.
We don't do anything special to get the system fonts (except excluding symbol fonts).
We ship both openDyslexicFonts so except the fact that one is ttf and the other is otf, I don't think we changed anything on them.
from gcompris-qt.
Boh. It is really strange. Sorry but i don't know.
But on next year i've to complete the migration to Win10, so... i'll solve the problem anyway.
Thanks to all.
from gcompris-qt.
Let's close this issue as there is a solution. Feel free to reopen if needed
from gcompris-qt.
Related Issues (20)
- no sounds in Gnumch game HOT 4
- Windows installer doesn't create a shortcut in public desktop HOT 1
- Sync configuration HOT 3
- Multiple profiles HOT 1
- Enrich your vocabulary crashes HOT 4
- Installation On Android problem HOT 11
- Can't download external assets on Fire OS 5 HOT 4
- About Section is not Updated for 2021 - Copyright Not Updated.
- Raspberry Pi sound issues HOT 1
- gcompris-qt segfaults HOT 5
- black boxes instead of buttons HOT 9
- Debian 11 XFCE - Screen flickering HOT 3
- android app download audio: Handshake failed Code 6 HOT 3
- Background music do not play HOT 6
- Watercycle broken starting after 2.1 HOT 5
- Can't compile, missing qtquickcontrols2-5-private-dev package on Raspbian Bullseye (Debian 11) HOT 5
- Checksum of downloaded file does not match HOT 6
- Request: command-line option to disable manual level switch HOT 4
- Mouse "cursor" placement with multiple monitors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcompris-qt.