Unnecessary encodings should be removed from /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE

Bug #69320 reported by Qishuai Liu
Affects Status Importance Assigned to Milestone
libx11 (Ubuntu)
Won't Fix

Bug Description

Binary package hint: libx11-data

In the file /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE has some unnecessary encodings defined, which causes some application very slow when loading fonts.

The default encoding for the default Ubuntu Chinese locale is zh_CN.UTF-8. Some applications request a gbk-0 encoding font, which is not installed in an Ubuntu system. Removing these unnessessary encoding in XLC_LOCALE can significantly increase the speed of running some applications like xterm and wine.

Only keep ISO8859-*, ISO10646-1 and UTF-8.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

# We leave the legacy encodings in for the moment, because we don't
# have that many ISO10646 fonts yet.

that's from the file, so it's not safe to drop those encodings.

Changed in libx11:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.