Difference between revisions of "Talk:Fonts"

From ArchWiki
Jump to: navigation, search
m (fc-cache: root vs regular: fix)
(‘Set the proper key map’?: new section)
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
Thanks for keeping the 'Beautifying fonts for LCD's in X' up to date. [[User:Misfit138|Misfit138]] 14:25, 23 April 2008 (EDT)
+
== ‘Set the proper key map’? ==
  
== Merge ==
+
FONT_MAP does not set the key map. 
  
I am not sure the pages need merging, I would rather see this page for installing fonts and [[Xorg_Font_Configuration]] for everything beautification, LCD, etc.
+
I put the following code into <TT >/etc/profile.d/locale.sh</TT >:
 +
(case "${LANG}" in
 +
pl_*) FONT=lat2-16;;
 +
*) let 0;;
 +
esac && setfont $FONT)
  
More a clearer separation than a real merge.
+
This allows the user to use a different locale than the system default. Of course, the list of supported languages must be extended.
[[User:Synss|Synss]] 03:45, 17 April 2009 (EDT)
+
  
:This page is about adding, Xorg Font Configuration is about setup. Lists go here, troubleshooting goes over there. I did this because otherwise it'd be a behemoth of an article. manolo 12:24, 11 November 2009 (EST)
+
--[[User:Yecril71pl|Yecril71pl]] ([[User talk:Yecril71pl|talk]]) 13:50, 11 May 2013 (UTC)
 
+
== Revision criteria ==
+
 
+
===fc-cache: root vs regular===
+
{{Codeline|$ fc-cache}} makes files in ~/.fontconfig. If you run fc-cache -v as root, you'll notice that it skips the possibly non existant /root/.fontconfig.
+
 
+
That dir is used to cache fonts by X on a per user basis. Those files override the cache made by system-wide fc-cache (/var/cache/fontconfig).
+
 
+
<nowiki>#</nowiki> fc-cache also updates both, but it is not needed in this situation. [[User:Manolo|manolo]] 20:23, 14 November 2009 (EST)
+

Revision as of 13:50, 11 May 2013

‘Set the proper key map’?

FONT_MAP does not set the key map.

I put the following code into /etc/profile.d/locale.sh:

(case "${LANG}" in
pl_*) FONT=lat2-16;;
*) let 0;;
esac && setfont $FONT)

This allows the user to use a different locale than the system default. Of course, the list of supported languages must be extended.

--Yecril71pl (talk) 13:50, 11 May 2013 (UTC)