A few weeks back I struggled with fonts, asked some questions on IRC, and wrote up what I learned on the wiki:
https://nixos.org/wiki/Fonts I should add some notes on packaging fonts there, too. I have no idea why Cantata and chromium aren't picking up fonts, though; I don't use either one. cheers, bergey On 2014-06-09 at 06:30, Mateusz Kowalczyk wrote: > Hi, > > In some applications (Cantata, chromium) I get squares instead of > Japanese characters. In others (emacs, urxvt, firefox, uzbl (ugly)) I > get actual characters. > > Does anyone know what I need to do to get Japanese to show up? In other > distros I would normally install every font available ever, run > fontconfig and hope for the best. > > Similarly, I was watching something with subtitles the other day and mpv > was struggling to find some fonts even though I seemed to have them in > ~/nix-profile/share/fonts/truetype . It might have needed some special > variety however so don't hold me on this one. > > What's the procedure of installing fonts? In my configuration.nix I have > > fonts.enableCoreFonts = true; > fonts.enableFontConfig = true; > fonts.enableFontDir = true; > fonts.enableGhostscriptFonts = true; > > I seem to get squares whether I have all of the above or none at all. > > I also was installing separate packages for fonts previously but it did > not seem to matter. > > I tried to find some info online on this but I was only ever able to > come across discussion whether unfree fonts should be included and > nothing else. _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
