LibreCAD 2.2.0 all text has gone, no fonts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

LibreCAD 2.2.0 all text has gone, no fonts

hvn52
Hi,

Until recently, I could place texts in drawings and with all measurements (e.g. Alined, Linear, etc) the numbers were shown. However, now all text and numbers have disappeared. Also, in the MText window, I can't select a font.

I'm Using Fedora Linux 34.

I realize this is very little info, but can somebody please shed a light on this?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

dellus
Is the missing text shown as boxes only? Then View - Draft is activated, switch it off.
Also when very small on screen and hardly recognizable anyway, it is simplified to boxes to save computing power.
Can't select a font? What do you mean? It seems to have no effect to change the font? Try different fonts, some seem to make no difference, don't know why.
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

hvn52
No, really all texts and numbers are gone. Not even shown as empty boxes.

What I mean with "can't select a font" is that in the top-left corner of the MText window, there's no font listed. At all. The drop-down menu where you should be able to select a font, shows nothing and clicking the down-arrow doesn't show a list of alternative fonts.

I uninstalled and reinstalled LibreCAD and noticed that the -font package is installed. So that's not the cause of the problem.
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

LordOfBikes
Administrator
This sounds like fonts location is not found.

As you already recognized, there is not much valuable information in your request.
Before I start guessing, please provide more information about how you installed LibreCAD.
Did you build yourself or used a package manager?
What is the exact LibreCAD version from Help->About window?
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

hvn52
I installed LibreCAD using the dnf package manager.

The exact version of LibreCAD is:

Version: 2.2.0-alpha
Compiler: GNU GCC 11.2.1
Compiled on: Feb  1 2022
Qt Version: 5.15.2
Boost Version: 1.75.0
System: Fedora 34 (Xfce)

I hope this gives more clues.
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

LordOfBikes
Administrator
When it worked with older packages before, I assume that the maintainer of the package has changed anything related with the fonts location.
Or Fedora has changed its common folder structure, so the coded search locations don't match anymore.

On Linux LibreCAD is looking at some common places for the fonts folder containing the LFF files.
I must look into sources for these places.

So you can contact Fedora and/or the packet maintainer about this issue.
I'm not familiar with Fedora and have to search for possible cause, which may take a while.

You can also search for the fonts folder, e.g. in /usr or /opt. When you have found the path, you can enter it in Application Preferences => Paths => Fonts.
Possibly you must restart LibreCAD after applying the path, to make it work.
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

hvn52
I looked for the font directory and found this:

/usr/share/doc/librecad-fonts]$ ls
LICENSE  LICENSE_Apache2.txt  LICENSE_GPLv3.txt
/usr/share/doc/librecad-fonts]$

but maybe that's not the actual fonts location, although this:

$ find /usr/ -name librecad-fonts
/usr/share/doc/librecad-fonts
$

doesn't show any other location.

It turns out that there's no maintainer listed at pkgs and Package Search is unavailable.
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

LordOfBikes
Administrator
librecad-fonts is not the folder LibreCAD searches for fonts, seems to be added by Fedora.

The librecad-fonts package info says that fonts are located at:
/usr/share/librecad/fonts/
That's the right place where we look for font files.

So you should check
- if that folder exists
- if there are a bunch of lff files
- if it is readable for everyone, at least -rw-r--r--

Alternatively we have AppImages for Linux, starting with 2.2.0-rc3, which should run on Fedora too.
See https://github.com/LibreCAD/LibreCAD/releases/tag/2.2.0-rc3 for last tagged version
or https://github.com/LibreCAD/LibreCAD/releases/tag/latest for binaries of latest changes.
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

hvn52
Ok,

I checked and find:
$ ls /usr/share/librecad/fonts/
amiri-regular.lff  italicc.lff                romant.lff
azomix_i.lff       italiccs.lff               scriptc.lff
azomix.lff         italict.lff                scripts.lff
cursive.lff        kochigothic.lff            simplex.lff
cyrillic_ii.lff    kochimincho.lff            standard.lff
gothgbt.lff        kst32b.lff                 syastro.lff
gothgrt.lff        lc_opengost-ar.lff         symap.lff
gothitt.lff        lc_opengost-br.lff         symath.lff
greekc.lff         OpenGostTypeA-Regular.lff  symbol.lff
greekcs.lff        OpenGostTypeB-Regular.lff  symbol_misc1.lff
greek_ol.lff       romanc.lff                 symbol_misc2.lff
greekp.lff         romancs.lff                symeteo.lff
greeks.lff         romand.lff                 symusic.lff
iso3098_i.lff      romanp.lff                 unicode.lff
iso3098.lff        romansi.lff                wqy-unicode.lff
iso.lff            romans.lff
$

and the files are all -rw-r--r--

I'll try an AppImage.

Edit: the AppImage shows text fine. So something seems to be quite wrong with the dnf-installed package.
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

5eppl
I'm running Fedora 36 right now and had the same problem.
Here is what worked for me:

adding "/usr/share/librecad/fonts" to Options->Application Preferences->Paths->fonts

hope this helps anyone still having this problem...
Reply | Threaded
Open this post in threaded view
|

Re: LibreCAD 2.2.0 all text has gone, no fonts

LordOfBikes
Administrator
This post was updated on .
Many thanks @5eppl for reporting this workaround!

There was just issue #1543 created, which addresses this too.

It turns out, that Fedora uses 2.2.0-rc3 code which was tagged in Nov. 2021.
In Jan. 2022 a user reported issue #1488 which is presumably the source of this problem.
This issue was fixed on Jan. 6, so when Fedora will update their source, it will be fixed.
I'll get in touch with the Fedora maintainers to fix this.
investing less than half an hour into Search function can save hours or days of waiting for a solution