Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65009 - [darktable]2:3.0.0-1 depends on package ttf-dejavu

Attached to Project: Community Packages
Opened by Kaspar Hollenstein (archiebug) - Thursday, 02 January 2020, 02:56 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 29 January 2020, 18:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Morten Linderud (Foxboron)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
darktable-2:3.0.0-1 appears to depend on fonts provided by package ttf-dejavu for proper functionality, i.e. display of man font in application. Please add this package to the depends array in PKGBUILD.

Additional info:
* Manual installation of ttf-dejavu-2.37-2 as dependency solved problem on my machine
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 29 January 2020, 18:13 GMT
Reason for closing:  Not a bug
Comment by Morten Linderud (Foxboron) - Thursday, 02 January 2020, 07:50 GMT
Should consider adding `ttf-font` as a dependency?
Comment by Bruno Pagani (ArchangeGabriel) - Friday, 03 January 2020, 00:06 GMT
Can you be more specific or show a capture of the issue? I don’t have any issue here, but I have a ttf-font provider (not ttf-dejavu) indeed.
Comment by Kaspar Hollenstein (archiebug) - Friday, 03 January 2020, 01:23 GMT
Attaching screenshots of before and after installation of ttf-dejavu. Without this package characters are rendered as boxes only.
Comment by Kaspar Hollenstein (archiebug) - Friday, 03 January 2020, 16:45 GMT
Not sure, but it appears that just having the virtual package ttf-font may not be enough. Before installation of darktable-2:3.0.0-1, ttf-font was provided by noto-fonts-20190926-3 on my machine, but didn't allow proper font rendering in darktable. Only installation of ttf-dejavu-2.37-2 fixed the issue. Hope this helps.
Comment by Bruno Pagani (ArchangeGabriel) - Friday, 03 January 2020, 17:16 GMT
Then your issue is something else. I don’t have ttf-dejavu installed, but noto-fonts and it definitively works for me. How do you configure default fonts on your system? Which ones are defined where.
Comment by Kaspar Hollenstein (archiebug) - Friday, 03 January 2020, 20:47 GMT
Makes sense. Can you help me out with some more details on what you mean with configure default fonts and where they are defined? This is rather confusing to me. None of the files in /etc/fonts or its subdirs change upon installation of ttf-dejavu and I don't recall ever making any changes to any of these files either. Below is what ~/.config/fontconfig/fonts.conf looks like. I have never made any edits to this,either.

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<dir>~/.fonts</dir>
<match target="font">
<edit mode="assign" name="hinting">
<bool>false</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintnone</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>
Comment by Kaspar Hollenstein (archiebug) - Saturday, 04 January 2020, 15:04 GMT
Okay, I think I worked it out. I added /etc/fonts/local.conf below to set preferred fonts to Noto. Thanks for pointing me in the right direction.
Would it still make sense to add ttf-font as a dependency to darktable?



<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>

<description>Set preferable fonts for Latin</description>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Hack</family>
<family>Noto Sans Mono</family>
</prefer>
</alias>
</fontconfig>

Loading...