Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Unicode (Read 1072 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Unicode

What unicode support is there in Artix?  There are many symbols I'd like my software to display and I put some in my keymap but my  console only shows ?  Considering the many advances in unicode one would expect it to work out-of-the-box on today's Linux.

Re: Unicode

Reply #1
You might need to enable fonts, and / or install font packages. There are various environments and apps within your OS that might need different approaches. The Arch Wiki should help with exact methods. There are stacks of font packages, they can't reasonably all be installed as standard as it would probably take up several  GB and slow updates, so there is only the minimum by default, then it's up to you to add what you want. Some might configure their OS as a headless server, so their requirements are pretty minimal. Arch principals are not like Ubuntu etc. - you start with the bare unconfigured essentials and are expected to add stuff yourself, in it's purest base install form. Some of the Artix iso's make it easier to get started than that though.
Edit: It's great you have decided to start using Artix and participate in discussions on the forum I should add, by way of welcome.  ;D

Re: Unicode

Reply #2
Thanks HeroMember and I do appreciate that Artix is a bit DIY - that's why I installed it.  Yes I need some fonts to display the unicode characters.  I realised that when some of the unicode characters I put in my custom keymap appeared ok but many only as ?.  Well I've tried to install more but the process of compiling them and using mkfontdir, mkfontscale, fc-cache in the font's own subdirectory UCS in /usr/share/fonts didn't seem to work for me - well maybe that's only for X.  So once again I'm confined to the  set of fonts and unimaps offered by kbd.  I put in my keymap "charset ISO-10646-18" and no errors eventuated but "UTF-8" was not accepted.  I just want to have unicode on the cli before I try on  a gui.

  Well, maybe today .  Thanks again.

Re: Unicode

Reply #3
I have no idea which (if any) of these might contain what  you require, but an AUR helper would greatly expand your options for additional console font packages:
Code: [Select]
$ pakku -Ss console font
world/terminus-font 4.49.1-5
    Monospace bitmap font (for X11 and console)
extra/fonteditfs 1.2-7
    console font editor
extra/terminus-font 4.49.1-5
    Monospace bitmap font (for X11 and console)
aur/bdf-tamzen-font-git 1:1.11.6.r1.3255e82-1 [27 / 0.000004]
    Monospaced bitmap font for console and X11 (tamsyn-font fork)(BDF font)
aur/bitedit 0.9.4-1 [0 / 0.000000]
    useful for directly editing existing bitmap font files, like Linux psf console fonts
aur/cfonts 1.1.0rust-1 [0 / 0.000000]
    Sexy ANSI fonts for the console
aur/extraf 14.2-1 [10 / 0.000000]
    Extra console fonts from Slackware
aur/lispm-font 0.1-3 [7 / 0.000000]
    M.I.T. "CADR LispMachine" main console font
aur/miniwi-font-git 1.0.r37.g80903cc-1 [1 / 0.000477]
    Tiny 4x8 font for X11 and the Linux console
aur/nafe 0.1-1 [14 / 0.000000]
    Toolset to translate PSF format consolefonts into text files and text files into PSF files.
aur/otb-tamzen-font-git 1:1.11.6.r1.3255e82-1 [27 / 0.000004]
    Monospaced bitmap font for console and X11 (tamsyn-font fork)(OTB font)
aur/otf-monaco-powerline-font-git r16.616d338-4 [3 / 0.000000]
    Monaco Powerline fonts for X11 and the console
aur/pcf-tamzen-font-git 1:1.11.6.r1.3255e82-1 [27 / 0.000004]
    Monospaced bitmap font for console and X11 (tamsyn-font fork)(PCF font)
aur/powerline-console-fonts 20151204-1 [7 / 0.000593]
    Various powerline patched fonts for the text console
aur/powerline-console-fonts-git r104.ge80e3eb-1 [3 / 0.000459]
    Various powerline patched fonts for the text console
aur/psf-cozette 1.19.0-1 [1 / 0.018494]
    A bitmap programming font optimized for coziness, console version (PSF format)
aur/psf-envypn 1.7.1-1 [1 / 0.018493]
    Readable bitmap font inspired by Envy Code R, covers ISO 8859-1,2 and Powerline glyphs, console version (PSF format)
aur/psf-tamzen-font-git 1:1.11.6.r1.3255e82-1 [27 / 0.000004]
    Monospaced bitmap font for console and X11 (tamsyn-font fork)(PSF font)
aur/psftools 1.0.14-1 [8 / 0.000000]
    Utilities for manipulation of console fonts in PSF format
aur/spleen-font 2.0.0-1 [11 / 0.345370]
    Monospaced bitmap fonts for user interface including console (OTB, OTF, PSFU)
aur/tamsyn-console-font 1.11-1 [1 / 0.180705]
    A monospaced bitmap font for the console
aur/tamsyn-font 1.11-6 [5 / 1.549602]
    A monospaced bitmap font for the console and X11
aur/tamsyn-font-otb 1.11-7 [2 / 0.001849]
    A monospaced bitmap font for the console and X11 (OTB Format)
aur/tamzen-font 1.11.5-1 [4 / 0.000008]
    Bitmapped programming font, based on Tamsyn (powerline, bitmap, ttf, vconsole font)
aur/terminus-cyrillic 4.49.1-1 [41 / 0.000000]
    Terminus monospace bitmap font (for X11 and console) with patches dv1 and ij1 applied
aur/terminus-font-italic 4.49.1-1 [1 / 0.007866]
    Monospace bitmap font (for X11 and console, Italic version)
aur/terminus-font-ll2 4.49.1-2 [3 / 0.000000]
    Monospace bitmap font (for X11 and console) with ll2 patch (pass the il1I test)
aur/terminus-font-ll2-td1 4.49.1-2 [18 / 0.000000]
    Monospace bitmap font (for X11 and console) with ll2 patch (pass the il1I test) and td1 patch (centered ascii tilde)
aur/terminus-font-ll2-td1-dv1-ij1 4.49.1-2 [2 / 0.000383]
    Monospace bitmap font (for X11 and console) with ll2 (pass the il1I test), td1 (centered ascii tilde), dv1 and ij1 (cyrillic de & ve & i) patches
aur/terminus-font-ll2-td1-ttf 4.48-1 [2 / 0.000000]
    A superb, monospace bitmap font (for X11 and console) with ll2 patch (pass the il1I test) and td1 patch (centered ascii tilde) (TTF version)
aur/terminus-font-td1 4.49.1-3 [5 / 0.000000]
    Monospace bitmap font (for X11 and console) with td1 patch (centered ascii tilde)
aur/ttf-tamzen-font-git 1:1.11.6.r1.3255e82-1 [27 / 0.000004]
    Monospaced bitmap font for console and X11 (tamsyn-font fork)(TTF font)
aur/ttf-workplace-console 1.00-1 [0 / 0.000000]
    Monospaced font inspired by the OS/2 Warp System VIO
aur/xnufont 1.0-1 [0 / 0.000000]
    XNU kernel font port to linux console
You can also search on the AUR website itself if you prefer to use makepkg alone.

Re: Unicode

Reply #4
  It seems to be a bit easier in X to show unicode symbols.  I mucked around with xkbcomp and managed to display lots of unicode symbols in an xfce4 terminal.  Xkb extension seems very good.  Calling it quits for the time being.