Difference between revisions of "Talk:Fonts"

From ArchWiki
Jump to: navigation, search
(Simplify Font packages markup: they should go)
(Is xset fp rehash required?: new section)
(20 intermediate revisions by 10 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’? ==
  
== Split out ''Console fonts?'' ==
+
FONT_MAP does not set the 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)
+
  
== Merge ==
+
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)
  
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.
+
This allows the user to use a different locale than the system default.  Of course, the list of supported languages must be extended.
  
More a clearer separation than a real merge.
+
--[[User:Yecril71pl|Yecril71pl]] ([[User talk:Yecril71pl|talk]]) 13:50, 11 May 2013 (UTC)
[[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)
+
== Is xset fp rehash required? ==
  
==Simplify ''Font packages'' markup==
+
When installing local fonts, this page suggests adding the following the <TT >.xinitrc</TT > file:
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)
+
xset +fp /usr/share/fonts/local
 +
xset fp rehash
  
: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)
+
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 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)
+
 
+
:—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.