You are not logged in.

#1 2017-01-14 00:13:31

claudiogc
Member
Registered: 2015-06-16
Posts: 108

[SOLVED]Let my fonts like Ubuntu.

Hi!

I would like to let my fonts rendering like Ubuntu and i read in the following site i can install three packs to do what i want:
https://www.reddit.com/r/archlinux/comm … y_default/

I would like to know what happened with freetype2-ubuntu? Yaourt doesn't find it. And look:
https://aur.archlinux.org/packages/freetype2-ubuntu/

Thanks!

Last edited by claudiogc (2017-01-14 13:49:52)

Offline

#2 2017-01-14 00:30:10

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED]Let my fonts like Ubuntu.

It was deleted as the package in extra/ provides the same functionality.

See: https://lists.archlinux.org/pipermail/a … 15188.html


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-01-14 00:31:10

s0je
Member
Registered: 2017-01-13
Posts: 3

Re: [SOLVED]Let my fonts like Ubuntu.

interesting question
i installed freetype and it's not exactly the same as ubuntu (which is really better imo)
did you try to configure freetype ? https://wiki.archlinux.org/index.php/fo … on#Presets

Offline

#4 2017-01-14 12:35:43

claudiogc
Member
Registered: 2015-06-16
Posts: 108

Re: [SOLVED]Let my fonts like Ubuntu.

s0je wrote:

interesting question
i installed freetype and it's not exactly the same as ubuntu (which is really better imo)
did you try to configure freetype ? https://wiki.archlinux.org/index.php/fo … on#Presets

Actually, no. I installed freetype2, fontconfig-ubuntu and cairo-ubuntu, but nothing changed! Don't know what to do now.

Offline

#5 2017-01-14 12:55:12

mrlamud
Member
Registered: 2014-09-27
Posts: 104

Re: [SOLVED]Let my fonts like Ubuntu.

I would recommend this method. It coutd fix your problem permanently: -
(credit to https://gist.github.com/cryzed/e002e705 … 9e748c5671

1.Just install freetype2 , fontconfig and cairo from official arch repo.

2.Open terminal to create fonts.conf file in ~/.config/fontconfig directory.

$ mkdir ~/.config/fontconfig
$ cd ~/.config/fontconfig
$ gedit fonts.conf

paste this config in new created fonts.conf

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<!-- ~/.config/fontconfig/fonts.conf file to configure user font access -->

<fontconfig>
    <match target="font">
        <edit mode="assign" name="rgba">
            <const>rgb</const>
        </edit>
        <!-- Should be enabled by default -->
        <edit mode="assign" name="hinting">
            <bool>true</bool>
        </edit>
        <!-- Should be disabled by default
    <edit name="autohint" mode="assign">
      <bool>false</bool>
    </edit>-->
        <!-- Should be enabled by default -->
        <edit mode="assign" name="antialias">
            <bool>true</bool>
        </edit>
        <edit mode="assign" name="hintstyle">
            <const>hintslight</const>
        </edit>
        <edit mode="assign" name="lcdfilter">
            <const>lcddefault</const>
        </edit>
    </match>


<!--use ubuntu fonts as default. -->

<alias>
    <family>sans-serif</family>
    <prefer>
        <family>Ubuntu</family>
    </prefer>
</alias>

<alias>
    <family>serif</family>
    <prefer>
        <family>Ubuntu</family>
    </prefer>
</alias>

<alias>
    <family>monospace</family>
    <prefer>
        <family>Ubuntu Mono</family>
    </prefer>
</alias>

</fontconfig>

3.Save fonts.conf.

4.Log out & Log in again or restart. You should see the result.

F.Y.I
Replace whatever fonts you like instead of Ubuntu or Ubuntu Mono.

Offline

#6 2017-01-14 13:49:34

claudiogc
Member
Registered: 2015-06-16
Posts: 108

Re: [SOLVED]Let my fonts like Ubuntu.

Wow mrlamud!

It really worked.

Thank you very much!

Offline

#7 2017-01-14 15:46:35

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED]Let my fonts like Ubuntu.

claudiogc wrote:

Actually, no. I installed freetype2, fontconfig-ubuntu and cairo-ubuntu, but nothing changed! Don't know what to do now.

You would also need freetype2-ubuntu.

Offline

#8 2017-01-14 16:02:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED]Let my fonts like Ubuntu.

brebs wrote:
claudiogc wrote:

Actually, no. I installed freetype2, fontconfig-ubuntu and cairo-ubuntu, but nothing changed! Don't know what to do now.

You would also need freetype2-ubuntu.

This entire thread is about that package not existing.

Offline

#9 2017-01-24 13:58:25

Xelvet
Member
Registered: 2014-02-20
Posts: 82

Re: [SOLVED]Let my fonts like Ubuntu.

How come there's only lib32-freetype2-ubuntu
in the AUR Archive Github repos. But where's freetype2-ubuntu??

Offline

#10 2017-01-24 14:08:13

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED]Let my fonts like Ubuntu.

Same place. Why do you want it though? It was removed from the AUR-proper because it was redundant.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2017-01-24 14:20:52

Xelvet
Member
Registered: 2014-02-20
Posts: 82

Re: [SOLVED]Let my fonts like Ubuntu.

I can't find any. And why remove it from the archive?

Well i have it installed and i need to rebuild it coz
there's something creepy going on with the deps.

You say the same has been included since 2.7?

Hmm.. it's just that a few months ago i had this really
dreadful experience with replacing this freetype2-ubuntu
with the extra/. All fonts got fucked and i couldn't fix it no matter what i did.
So as a last resort solution i had to restore the *whole* system piece by piece
from a quite vintage backup. I'd sworn to never touch this ffreetype2 ever again.
And now what. I can't even find the old PKGBUILD for it anywhere. Wtf.

Last edited by Xelvet (2017-01-25 23:47:10)

Offline

#12 2017-01-24 15:35:52

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED]Let my fonts like Ubuntu.

You're right, it's not on the AUR Archive. I guess it's not in the archive because it was migrated to the current AUR. There is still a copy on an AUR-mirror mirror, but I would advise against using it. Instead, see https://wiki.archlinux.org/index.php/Font_configuration


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#13 2017-01-25 00:53:06

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED]Let my fonts like Ubuntu.

It can still be cloned from https://aur.archlinux.org/freetype2-ubuntu.git just like any other deleted package.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB