Difference between revisions of "Talk:Fonts"

From ArchWiki
Jump to: navigation, search
m (missed a comment)
(Is xset fp rehash required?: new section)
(18 intermediate revisions by 10 users not shown)
Line 1: Line 1:
== Split out ''Console fonts?'' ==
+
== ‘Set the proper key map’? ==
The topic is probably a common search item for users. I think it could easily stand on its own, just for that reason, even before my additions.    --[[User:Thisoldman|Thisoldman]] 13:01, 22 November 2009 (EST)
+
  
==Simplify ''Font packages'' markup==
+
FONT_MAP does not set the key map.
Is there a reason for the horizontal rule beneath each heading in the '''Font packages''' section? This seems like a pointless stylistic addition; the headings alone provide enough separation, in my opinion.
+
  
-- [[User:Pointone|pointone]] 13:55, 5 February 2010 (EST)
+
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)
  
:Well, yeah. I don't remember why I used them originally for [[Fonts#Font packages]]. Completely arbitrary, though. [[User:Dres|Dres]] 15:12, 5 February 2010 (EST)
+
This allows the user to use a different locale than the system default.  Of course, the list of supported languages must be extended.
 +
 
 +
--[[User:Yecril71pl|Yecril71pl]] ([[User talk:Yecril71pl|talk]]) 13:50, 11 May 2013 (UTC)
 +
 
 +
== Is xset fp rehash required? ==
 +
 
 +
When installing local fonts, this page suggests adding the following the <TT >.xinitrc</TT > file:
 +
 
 +
xset +fp /usr/share/fonts/local
 +
xset fp rehash
 +
 
 +
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.

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.