Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 01-13-2025, 06:51 AM   #1
Morozko
Junior Member
Morozko began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2020
Device: Kindle PW3
Linux Editor Font

I'm switching over from Windows to Linux, and I was able to transfer everything across.

Opening the Calibre ebook editor originally had Consolas as the editor font family, which is not available. So I cleared it, and now it's using a monospace font, but it's relatively large. I wanted to change it, but opening the "Editor font family" preference shows "Choose a font family from the list below" and the list is empty except for the text "None". I'm not sure if this is because it's not using the system Qt, or if this feature is just not available in Linux?

I've attached a screenshot of what I'm seeing when I try to choose a font family.
Attached Thumbnails
Click image for larger version

Name:	calibre_font.png
Views:	171
Size:	61.7 KB
ID:	213045  
Morozko is offline   Reply With Quote
Old 01-13-2025, 08:05 AM   #2
skil-phil
Connoisseur
skil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animalsskil-phil is kind to children and small, furry animals
 
skil-phil's Avatar
 
Posts: 84
Karma: 6698
Join Date: Sep 2022
Location: South Africa
Device: kindle pw10
Hi,
I Use Linux Mint and that box is populated with all the fonts on the system as well as some I have never seen before or used.
You have not used something like font manager and disabled a whole lot of fonts?
Otherwise do not know
Cheers
skil-phil is offline   Reply With Quote
Advert
Old 01-13-2025, 09:44 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,307
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No it is available on Linux as well, if the list is blank it will be because of some issue between Qt and fontconfig on your system.
kovidgoyal is offline   Reply With Quote
Old 01-13-2025, 11:24 AM   #4
Morozko
Junior Member
Morozko began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2020
Device: Kindle PW3
Quote:
Originally Posted by skil-phil View Post
Hi,
I Use Linux Mint and that box is populated with all the fonts on the system as well as some I have never seen before or used.
You have not used something like font manager and disabled a whole lot of fonts?
Otherwise do not know
Cheers
I'm using EndeavourOS, which is basically Arch, but with a GUI installer. And in KDE. I haven't touched font manager or anything like that.

Quote:
Originally Posted by kovidgoyal View Post
No it is available on Linux as well, if the list is blank it will be because of some issue between Qt and fontconfig on your system.
I'll try restarting and see if it makes any difference. It's strange, because it's only that list that's empty. I can change the preview font settings, because those are in a dropdown with them listed. It's only this one, where it appears in a popup with an empty list. And clicking Add there says it's added the font, but doesn't list it either.

Do you have any possible advice of how I could debug this?

Thanks for the speedy reply: I didn't expect a same day response.
Morozko is offline   Reply With Quote
Old 01-13-2025, 11:36 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,307
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Start by making sure you are using the official calibre binaries not your distro calibre package.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-13-2025, 12:14 PM   #6
Morozko
Junior Member
Morozko began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2020
Device: Kindle PW3
I can confirm that it works right when using the official binaries, rather than the extra package from Arch. Not sure why the Arch one doesn't work properly: as far as I know, it's supposed to build the app.

Unfortunately, another difference between the two is that the Arch package means that my global menu bar shows the Calibre menus. Whereas the official one doesn't have those working. Thanks for your support.
Morozko is offline   Reply With Quote
Old 01-13-2025, 12:32 PM   #7
Morozko
Junior Member
Morozko began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2020
Device: Kindle PW3
An update: I got it working with the Arch package as well, together with global menu. It turned out I was missing an optional dependency: python-fonttools. With that installed, it works nicely. I'd prefer to have it done through pacman, rather than needing to manage an app separately. Thank you for all your help above.
Morozko is offline   Reply With Quote
Reply

Tags
editor, font, linux


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a font into the editor dan2the6th Editor 2 07-20-2021 09:44 PM
Editor does not open on 3.29 Mint Linux 17.1 Greg Anos Editor 2 08-23-2018 09:35 AM
Editor for linux does not record korben Editor 10 10-08-2014 04:37 AM
Changing the python editor font microgiraffe Calibre 1 07-22-2011 07:30 PM
NVU 0.40 - Free (X)HTML Editor for Linux and Windows Alexander Turcic Lounge 2 08-11-2004 10:08 PM


All times are GMT -4. The time now is 04:27 PM.


MobileRead.com is a privately owned, operated and funded community.