silenc3r / fedora-better-fonts Goto Github PK
View Code? Open in Web Editor NEWBetter looking fonts for Fedora
Better looking fonts for Fedora
The dconf path /org/gnome/settings-daemon/plugins/xsettings/antialiasing
in the README is no longer available (tested on Fedora 34). The attribute is not set / never read. Does this possibly mean the package also needs adaption?
Hi. I am aware I can edit my /etc/fonts/conf.d/37-repl-global-free.conf and comment the parts I don't want out but maybe there is a better way?
My local fontconfig configuration in ~/.config/fontconfig/fonts.conf is:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<fontconfig>
<match>
<test name="family">
<string>sans-serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Calibri</string>
</edit>
</match>
<match>
<test name="family">
<string>serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Cambria</string>
</edit>
</match>
<match>
<test name="family">
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Consolas</string>
</edit>
</match>
</fontconfig>
After upgrading liberation-fonts to 2.00.5-3.fc30.noarch, there's now a conflict with liberation-narrow-fonts:
$ sudo dnf upgrade
[sudo] password for iweiss:
Last metadata expiration check: 0:25:49 ago on Wed 28 Aug 2019 06:11:45 BST.
Dependencies resolved.
Problem: cannot install both liberation-fonts-1:2.00.5-1.fc30.noarch and liberation-fonts-1:2.00.5-3.fc30.noarch
- cannot install the best update candidate for package liberation-narrow-fonts-1.07.6-1.fc30.noarch
- cannot install the best update candidate for package liberation-fonts-1:2.00.5-3.fc30.noarch
===============================================================================================================================================================================================================================================================================================================================
Package Architecture Version Repository Size
===============================================================================================================================================================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
liberation-fonts noarch 1:2.00.5-1.fc30 fedora 8.0 k
Transaction Summary
===============================================================================================================================================================================================================================================================================================================================
Skip 1 Package
Nothing to do.
Complete!
$ rpm -qa | ag liberation-fonts
liberation-fonts-common-2.00.5-3.fc30.noarch
liberation-fonts-2.00.5-3.fc30.noarch
The cabin font conflicts with texlive-cabin
from the official Fedora repositories, which is included in texlive-collection-fontsextra
.
Error: Transaction check error:
file /usr/share/fonts/cabin from install of texlive-cabin-6:svn39875-36.fc27.5.noarch conflicts with file from package cabin-fonts-2.001-1.fc27.noarch
Hi! I tried to install the repo but the link is off:
Curl error (7): Couldn't connect to server for https://copr.fedorainfracloud.org/coprs/dawid/better_fonts/repo/fedora-33/dnf.repo?arch=x86_64 [Failed to connect to copr.fedorainfracloud.org port 443: Conexão recusada]
Thanks! :)
It seems that there's no installation candidate for archivo-black-fonts
on F34, which causes installation to fail.
Problem: conflicting requests
- nothing provides archivo-black-fonts needed by fontconfig-font-replacements-0.6-2.fc34.noarch
Can you please consider adding Noto Sans Symbols
and Noto Sans Symbols2
to preferred list of Symbol fonts?
During dnf upgrade
a problem comes up, since fontconfig-enhanced-defaults
has freetype-freeworld
as a dependency, but new version of freetype
in update repo obsoletes it. As far as I understand fontconfig-enhanced-defaults
just needs to be rebuild against new version of freetype
?
complete error message:
Problem 1: package fontconfig-enhanced-defaults-0.4-1.fc29.noarch requires freetype-freeworld, but none of the providers can be installed
- package freetype-2.9.1-6.fc29.x86_64 obsoletes freetype-freeworld < 2.9.1-2 provided by freetype-freeworld-2.9.1-1.fc29.x86_64
- package freetype-2.9.1-6.fc29.x86_64 obsoletes freetype-freeworld < 2.9.1-2 provided by freetype-freeworld-2.9.1-1.fc29.i686
- cannot install the best update candidate for package freetype-2.9.1-3.fc29.x86_64
- cannot install the best update candidate for package fontconfig-enhanced-defaults-0.4-1.fc29.noarch
Problem 2: problem with installed package fontconfig-enhanced-defaults-0.4-1.fc29.noarch
- package fontconfig-enhanced-defaults-0.4-1.fc29.noarch requires freetype-freeworld, but none of the providers can be installed
- package freetype-2.9.1-6.fc29.x86_64 obsoletes freetype-freeworld < 2.9.1-2 provided by freetype-freeworld-2.9.1-1.fc29.x86_64
- package freetype-2.9.1-6.fc29.x86_64 obsoletes freetype-freeworld < 2.9.1-2 provided by freetype-freeworld-2.9.1-1.fc29.i686
- cannot install the best update candidate for package freetype-freeworld-2.9.1-1.fc29.x86_64
sudo dnf copr enable dawid/better_fonts -y
/usr/lib/python3.10/site-packages/dnf-plugins/copr.py:433: DeprecationWarning: distro.linux_distribution() is deprecated. It should only be used as a compatibility shim with Python's platform.linux_distribution(). Please use distro.id(), distro.version() and distro.name() instead.
dist = linux_distribution()
I have attached a PDF. When opening it in the browser, math equations are correct. When opening it in Okular (PDF viewer), some symbols are incorrect. Okular says that 'google-croscore/SymbolNeu.ttf' is used for 'Symbol'.
Example 1, The sum sign is displayed as a dot. Page 2
El-Alfy2001 Model-based Q-learning for wireless channel alloc.pdf
Example 2, Pi is displayed as not-eq. Page 135
Wong2003 Thesis.pdf
Fedora 28 beta will be here soon, I'd be great to have the copr updated in time.
I'm likely not the first person to ask this, but would it be possible to upstream these changes so that it becomes the default for all Fedora installations?
As far as I understand, this is all FOSS-compliant and thousands are actively using it.
This is on f31 which is reaching EOL on 2020-11-24. I'm not sure if this is also failing on newer versions of Fedora.
Dependencies resolved.
Problem: cannot install the best update candidate for package fontconfig-font-replacements-0.5-1.fc30.noarch
- nothing provides catharsis-cormorant-garamond-fonts needed by fontconfig-font-replacements-0.6-1.fc31.noarch
- nothing provides sorkintype-merriweather-fonts needed by fontconfig-font-replacements-0.6-1.fc31.noarch
- nothing provides sorkintype-merriweather-sans-fonts needed by fontconfig-font-replacements-0.6-1.fc31.noarch
==============================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================
Skipping packages with broken dependencies:
fontconfig-font-replacements noarch 0.6-1.fc31 copr:copr.fedorainfracloud.org:dawid:better_fonts 11 k
Transaction Summary
==============================================================================================================================
Skip 1 Package
Nothing to do.
Complete!
Hi!
Is there a way to revert the changes made? I tried uninstalling everything, but it doesn't seem to have changed back to the way it was by default.
Thanks!
Hello @silenc3r,
I've been using fontconfig-enhanced-defaults
without fontconfig-font-replacements
for the last two Fedora releases. Today I've removed it and did not immediatly noticed a difference. In Tweaks I've enabled Slight and Subpixel AA.
Does a Subpixel AA setting in Tweaks do exactly the same as fontconfig-enhanced-defaults
without fontconfig-font-replacements
installed?
I can try to explain it, but I think a screenshot is better (note the light gray text at full resolution):
This does not happen in Ubuntu 17.10. I'm aware that this is probably not due to your settings, but maybe you know what's going on here. I don't see where Ubuntu's and your settings differ. Probably something related to the lcd filter. It might be worthwhile to copy Ubuntu's settings, if possible. I checked and it's definitely not related to the different fonts in Ubuntu. The Ubuntu fonts turn out even worse than Cantarell on Fedora:
This is Ubuntu's antialiasing:
I'd love to help contribute, and was working on getting COPR builds going for Fedora 29, but have been running into some issues. I know next to nothing about building RPMs.
I forked the repo and made a couple fixes (it seems COPR won't download from http URLs, https-only now). Now I'm running into an issue with the scripts that download from google fonts:
Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results9w8gubyf --spec /tmp/tmpz2_zmxtk/fedora-better-fonts/fjalla-one-fonts
cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results9w8gubyf', '--spec', '/tmp/tmpz2_zmxtk/fedora-better-fonts/fjalla-one-fonts']
cwd: /tmp/tmpz2_zmxtk/fedora-better-fonts/fjalla-one-fonts
rc: 0
stdout: Wrote: /var/lib/copr-rpmbuild/results9w8gubyf/fjalla-one-fonts.spec
stderr: error: Bad source: /var/lib/copr-rpmbuild/results9w8gubyf/fjalla-one-fonts-1.001.tar.xz: No such file or directory
I've also tinkered a bit with running the rpkg script locally, but get similar errors. If I run the script manually, it downloads the font to a tmp dir and makes a .tar.xz, but I'm not sure how to get rpkg to find it.
It looks like in the past rather than relying on COPR you've just built them locally then uploaded them. Do you have build instructions or any tips on how you did that?
Thanks!
FC27 is branched and can be enabled in copr, would you please support this (beta-)release?
It looks like there is a setting that automatically creates repos for new branches: Settings / Other Options / Follow Fedora branching.
Thank you very much.
Hello,
I love this on Fedora, but I also run CentOS 8 on a box. Would love to have this available there - any chance you could make this available for CentOS as well? I'd greatly appreciate it. This is fantastic work.
Just updated to Fedora 27 and hit a weird issue: installing a colored emoji font (tried both Noto and EmojiOne) would result in Characters displaying blank emojis.
After some back and forth, sudo dnf remove fontconfig-enhanced-defaults fontconfig-font-replacements
fixed it.
Is there a way to apply these changes in Fedora Silverblue without layering the packages?
Hello there,
Your repository on Fedora COPR, dawid/better_fonts
includes a package named ubuntu-fonts
, which is licensed under the Ubuntu font licence, a known bad font license on Fedora.
Fedora COPR requires all packages built on it to comply with the terms listed in the FAQ, which says that one must not build packages for software that "is governed in whole or in part by a license not contained in the list of acceptable licenses for Fedora, currently located at https://fedoraproject.org/wiki/Licensing, as that list may be revised from time to time by the Fedora Council" (see part "What I can build in Copr?" of the FAQ)
You may want to drop the offending package off of the Fedora COPR repository to resolve the issue.
```
rmnscnce
For example, megamek and freemind (which is in the fedora repos) look worse with gasp than not having the variable set.
Thanks for working on this - the overall web experience on Chrome is loads better with your config enabled.
Recently some websites started to use "system-ui" font-family which defaults to Cantarell on Fedora 33, and it looks too lean. After that website change, the fonts became less readable.
As I'm using KDE, there doesn't seem any way to adjust "system-ui" font for Firefox — it seem to support this function only with Gnome desktop. I had to change fontconfig configuration manually.
My proposal is to change "system-ui" to Arimo, for example.
<alias>
<family>system-ui</family>
<prefer>
<family>Arimo</family>
</prefer>
</alias>
Hello. Fedora corp repo doesn't work. Project is dead?
It seems like the F29 packages cannot be found:
$ # follow the install instructions from README.md
$ sudo dnf update --refresh
Copr repo for better_fonts owned by dawid 1.9 kB/s | 3.4 kB 00:01
[...]
$ sudo dnf install fontconfig-enhanced-defaults fontconfig-font-replacements
Last metadata expiration check: 0:00:11 ago on Sun 14 Oct 2018 03:20:31 PM CEST.
No match for argument: fontconfig-enhanced-defaults
No match for argument: fontconfig-font-replacements
Error: Unable to find a match
$ sudo dnf repo-pkgs dawid-better_fonts list
Last metadata expiration check: 0:01:56 ago on Sun 14 Oct 2018 03:20:31 PM CEST.
$
Could you please check the repo configuration again?
$ sudo dnf install fontconfig-font-replacements -y
Last metadata expiration check: 0:10:23 ago on Mon 01 Nov 2021 03:29:05 PM IST.
Error:
Problem: conflicting requests
- nothing provides archivo-black-fonts needed by fontconfig-font-replacements-0.6-2.fc35.noarch
(try to add '--skip-broken' to skip uninstallable packages)
While building packages I get error saying that we're using obsolete macros in spec files.
They should be updated according to https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.