You are not logged in.

#1 2023-09-21 16:05:22

b42
Member
Registered: 2023-07-20
Posts: 189

[SOLVED]bad font rendering pdf

I have this weird font rendering in my pdf viewer (zathura)

yVJr6Wx

How to fix this?

Last edited by b42 (2023-10-16 14:18:26)

Offline

#2 2023-09-21 16:30:53

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED]bad font rendering pdf

Is it just me? I cannot open your lnk directly.  But I can open https://i.ibb.co/wY1fSM2/markup-1000039239.png, and itlooks like missing fonts in that pdf. Does it happen for all pdfs or only for a specific one?

Offline

#3 2023-09-21 19:30:31

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

to all pdfs

Offline

#4 2023-09-21 22:30:39

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

You're aware that there's a pleathora of screenshot tools for all display managers and environments?
No need to photograph your monitor.

It looks like a hinting issue, but that's impossible to tell from the photo.
Also please post

pacman -Qs font

Offline

#5 2023-09-21 23:14:01

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

Offline

#6 2023-09-21 23:30:00

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

So you've cantarell and source code pro… try installing some serif font?
adobe-source-serif-fonts and you probably also want adobe-source-sans-fonts and ttf-dejavu

Offline

#7 2023-09-21 23:35:40

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

I have manually installed dejavu so its there. Is it possible to set it for my PDF reader?

Offline

#8 2023-09-22 06:03:40

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

fc-match sans
fc-match "sans serif"
fc-match serif

Offline

#9 2023-09-22 09:00:57

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

rendering better but there are still bugs out there (even though very minimal).

What is the package for the icons on my terminal? I have nerd symbols and glyphs installed but that as far as I can understand is not designed for terminal?

Offline

#10 2023-09-22 10:42:26

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

WTF are you talking about?
Those commands achive *nothing* - they just post what fonts are currently resolved on your system.
If anything had any impat than it was installing any of the above fonts, and if anything of that ha discernible input,  your "manual" DejaVu installation is lilkey fudged.

"Icons on terminal" is a completely different topic that starts with
- what terminal?
- what icon specifically (utf8 codepoint)
which you'll please point out in the new thread you'll open for that.

If you want to address the "very minimal" remaining "bugs", please elaborate on those, in doubt link a screenshot (do NOT post a photo of your monitor, that's useless)

Offline

#11 2023-09-22 13:19:38

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

sorry.

https://0x0.st/HOnd.txt

I believe DejaVu installed well, I have it running on my terminal.

How can I upload a screenshot from Arch with the curl command?

Offline

#12 2023-09-22 13:24:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,361
Website

Re: [SOLVED]bad font rendering pdf

EDIT: removed suggestions.  I gather this is still your youtube-led install and you haven't the foggiest idea what you are doing - that would explain much in this thread.

Last edited by Trilby (2023-09-22 13:30:44)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2023-09-22 13:48:33

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

Trilby wrote:

EDIT: removed suggestions.  I gather this is still your youtube-led install and you haven't the foggiest idea what you are doing - that would explain much in this thread.

If you are referring to DejaVu, I have put the fonts to /usr/share/fonts dir and they work fine on my terminal and in LibreOffice.

Offline

#14 2023-09-22 13:54:10

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

You posted *one* output…

fc-list -l | grep -i dejavu | curl -F 'file=@-' 0x0.st

https://imgur.com/ but you can actually also just cat an image into 0x0.st - how you obtain the screenshow depends on what tools you have for that.

Last edited by seth (2023-09-22 13:57:21)

Offline

#15 2023-09-22 13:56:34

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

says there is no such command fc-config

Offline

#16 2023-09-22 13:57:46

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

Sorry, fc-list

Offline

#17 2023-09-22 16:05:32

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

Offline

#18 2023-09-22 16:10:12

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

So you've no serif version of dejavu installed, hence installing the adobe font provided you with one.
Do you want to address the "very minimal" remaining "bugs", preferably with a screenshot but at least a more detailed explanation?

Otherwise please mark the thread as solved.

Offline

#19 2023-09-23 12:16:24

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

could you help me with the screenshot ?

which package would you recommend for screenshot capturing and what is the command to upload it to 0x0.st?

Offline

#20 2023-09-23 13:57:22

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

Knock yourself out: https://wiki.archlinux.org/title/Screen_capture
You can just cat the image into 0x0.st as you'd cat a text file there.

Offline

#21 2023-09-23 14:33:05

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

Offline

#22 2023-09-23 15:12:33

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

I suspect it's trying to use a monospace font there?

fc-list :spacing=mono

Offline

#23 2023-09-23 15:46:10

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

Offline

#24 2023-09-23 15:59:41

seth
Member
Registered: 2012-09-03
Posts: 63,406

Re: [SOLVED]bad font rendering pdf

There're quite some, on a guess

fc-match monospace

Can you share the PDF?

Offline

#25 2023-09-23 17:36:15

b42
Member
Registered: 2023-07-20
Posts: 189

Re: [SOLVED]bad font rendering pdf

Offline

Board footer

Powered by FluxBB