Artix Linux Forum

Artix Linux => Software development => Topic started by: BuddhiLW on 21 June 2021, 03:58:23

Title: Creative Commons Unicode - CCSymbols
Post by: BuddhiLW on 21 June 2021, 03:58:23
Hello, I recently read about the CC symbols being now a standard - a not so rapidly adopted.

Then, I read this article (https://www.ctrl.blog/entry/creative-commons-unicode-fallback-font.html), in which Daniel Aleksandersen gave the solution of packing these symbols himself in a minimalist font, that you can download here (https://www.ctrl.blog/file/2020-04-19_cc-symbols.zip). It's called CCSymbols.

I was thinking about putting this on the AUR repository, or something like that. It's 2021-06, and still no widely adopted font has it - and I searched, oh if I searched...

Anyone could help with that? I don't have experience putting material on the AUR.
Title: Re: Creative Commons Unicode - CCSymbols
Post by: BuddhiLW on 21 June 2021, 04:10:55
To install the fonts locally:
Code: [Select]
mkdir cc-symbols
Code: [Select]
mv 2020-04-19_cc-symbols.zip cc-symbols/
Code: [Select]
cd cc-symbols/
Code: [Select]
7z x 2020-04-19_cc-symbols.zip
Code: [Select]
cp ./* ~/.local/share/fonts 
Code: [Select]
rm ~/.local/share/fonts/2020-04-19_cc-symbols.zip

Finally, see that they render CC symbols
Code: [Select]
fontfor U+1F16D
Code: [Select]
Font(s) support the character "🅭"(U+01F16D, 127341, 0xF0 0x9F 0x85 0xAD):
CCSymbols with 2 styles


EDIT: Oh, one more thing, don't forget to update your font cache. So, your computer can lookup the font to render it.
Code: [Select]
fc-cache

Reboot and be happy under Creative Commons.
Title: Re: Creative Commons Unicode - CCSymbols
Post by: strajder on 21 June 2021, 06:55:02
Reboot and be happy under Creative Commons.
There is no need to reboot when installing a new font, refreshing the font cache is enough. Depending on the program though, it might be necessary to restart the program using the font only.
Title: Re: Creative Commons Unicode - CCSymbols
Post by: BuddhiLW on 21 June 2021, 07:20:44
By the way, there is this repository to help the use of the license on github, if you use README.org files.

https://github.com/BuddhiLW/Org-license

I have linked this post there, under Unicode coverage.

I explain how to configure it on Emacs too, once the font is installed.
Title: Re: Creative Commons Unicode - CCSymbols
Post by: BuddhiLW on 24 July 2021, 23:04:55
Update:

I installed a repository called all-repository-fonts,

Code: [Select]
yay -Sy all-repository-fonts

Then, I searched for fonts which would render cc symbols, with fontfor,

Code: [Select]
fontfor -v 🅭

Code: [Select]
Font(s) support the character "🅭"(U+01F16D, 127341, 0xF0 0x9F 0x85 0xAD):
CCSymbols
    CC Symbols
    CC Symbols
    CC Symbols
    CC Symbols
Sarasa fonts
Unifont Upper
    Unifont Upper


More info about Unifont Upper: http://unifoundry.com/unifont/index.html
Sarasa:  https://github.com/be5invis/Sarasa-Gothic