Difference between revisions of "Talk:Fonts"

From ArchWiki
Jump to: navigation, search
(Is xset fp rehash required?: new section)
(23 intermediate revisions by 12 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 ==
+
== Is xset fp rehash required? ==
  
===fc-cache: root vs regular===
+
When installing local fonts, this page suggests adding the following the <TT >.xinitrc</TT > file:
{{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).
+
xset +fp /usr/share/fonts/local
 +
xset fp rehash
  
<nowiki>#</nowiki> fc-cache also updates both, but it is not needed in this situation. [[User:Manolo|manolo]] 20:23, 14 November 2009 (EST)
+
My understanding is that <TT >xset fp rehash</TT > is only required to reload the font path on an active X session, therefore not needed in the <TT >.xinitrc</TT > file.
 
+
:—Thanks for clearing it up and cleaning it up. --[[User:Thisoldman|Thisoldman]] 07:29, 15 November 2009 (EST)
+
 
+
=== Asian heading removal ===
+
Not all Asian fonts were under this heading. Tamil was, Khmer wasn't. Are Arabic and Hebrew Asian? Categories easily become political, as the Unicode ''Han controversy'' shows. Unicode groups the CJKV fonts together, so I presume we can too. --[[User:Thisoldman|Thisoldman]] 18:35, 15 November 2009 (EST)
+

Revision as of 23:17, 26 June 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)

Is xset fp rehash required?

When installing local fonts, this page suggests adding the following the .xinitrc file:

xset +fp /usr/share/fonts/local 
xset fp rehash

My understanding is that xset fp rehash is only required to reload the font path on an active X session, therefore not needed in the .xinitrc file.