[Bug 2327] New: [PATCH] To display Thai characters in xkbprint

bugzilla-daemon@freedesktop.org bugzilla-daemon@freedesktop.org
Wed Jan 19 06:30:32 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to           
the URL shown below and enter yourcomments there.    
  
https://bugs.freedesktop.org/show_bug.cgi?id=2327         
    
           Summary: [PATCH] To display Thai characters in xkbprint
           Product: xorg
           Version: CVS_head
          Platform: PC
               URL: http://linux.thai.net/~poonlap/code/xkbprint_thai.patch
        OS/Version: Linux
            Status: NEW
          Keywords: i18n
          Severity: enhancement
          Priority: P3
         Component: * Other
        AssignedTo: xorg-bugzilla-noise@freedesktop.org
        ReportedBy: poonlap@linux.thai.net


When using xkbprint to print keyboard layout with symbols, it will use keysym
name to display. Because the space on a key is limited, the symbol names will
display uglily and this is not so useful, for example

http://linux.thai.net/~poonlap/images/xkbprint_traditional.pdf

I would like to propose a patch to display characters (in my case is Thai)
instead of symbol names. It is more useful for a user, for example (the same
layout with patch)

http://linux.thai.net/~poonlap/images/tis-820.2538.pdf

My patch is located at

http://linux.thai.net/~poonlap/code/xkbprint_thai.patch

It includes Thai pfa font (GPL license), and code to detect if the layout
includes Thai or not. If there is a Thai keyboard defined, it will setup font
and display Thai characters. If there is no Thai keyboard, it will not set
anything about Thai displaying. 

I think this approach is useful for other languages also.

---
Poonlap         
    
    
--          
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email        
    
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list