[I18n] patches to luit for (hkscs + gb18030) support

2004-01-02 Thread Zarick Lau
Hi,

I have filed a bug and submitted patches for 'hkscs and gb18030 support'
for luit.

Bug ID is 1048. The patch is attached also. Please note that the patch
depends on the GB18030 fontmap to work properly, which reside in xfree
cvs 'xc/fonts/encoding/large/gb18030*'

Regards,
Zarick
-- 
ThizLinux Laboratory Limited
Address: Unit 502-505, 5/F, Tower 3,
 Enterprise Square, 9 Sheung Yuet Road,
 Kowloon Bay, Hong Kong
Telephone:   (852) 2735 2725
Direct Line: (852) 3184 1311
Fax: (852) 2111 0702
diff -u xc.orig/programs/luit/charset.c xc/programs/luit/charset.c
--- charset.c	22 Dec 2003 17:48:12 -	1.8
+++ charset.c	2 Jan 2004 03:42:49 -
@@ -154,6 +154,8 @@
 {GBK, init_gbk, mapping_gbk, reverse_gbk, stack_gbk},
 {UTF-8, init_utf8, mapping_utf8, reverse_utf8, stack_utf8},
 {SJIS, init_sjis, mapping_sjis, reverse_sjis, stack_sjis},
+{BIG5-HKSCS, init_hkscs, mapping_hkscs, reverse_hkscs, stack_hkscs},
+{GB18030, init_gb18030, mapping_gb18030, reverse_gb18030, stack_gb18030},
 {0, 0, 0, 0, 0}
 };
 
@@ -418,6 +420,8 @@
 { gbk, 0, 1, NULL, NULL, NULL, NULL, GBK},
 { UTF-8, 0, 1, NULL, NULL, NULL, NULL, UTF-8},
 { SJIS, 0, 1, NULL, NULL, NULL, NULL, SJIS},
+{ Big5-HKSCS, 0, 1, NULL, NULL, NULL, NULL, BIG5-HKSCS},
+{ gb18030, 0, 1, NULL, NULL, NULL, NULL, GB18030},
 { 0, 0, 0, 0, 0, 0, 0}
 };
 
diff -u xc.orig/programs/luit/iso2022.c xc/programs/luit/iso2022.c
--- iso2022.c	8 Dec 2002 20:19:49 -	1.9
+++ iso2022.c	2 Jan 2004 03:42:49 -
@@ -623,7 +623,7 @@
 is-parserState = P_ESC;
 } else if(OTHER(is) != NULL) {
 int c = OTHER(is)-other_stack(*s, OTHER(is)-other_aux);
-if(c = 0) {
+if(c != -1) {
 outbufUTF8(is, fd, OTHER(is)-other_recode(c, OTHER(is)-other_aux));
 is-shiftState = S_NORMAL;
 }
diff -u xc.orig/programs/luit/other.c xc/programs/luit/other.c
--- other.c	17 Oct 2002 01:06:09 -	1.1
+++ other.c	2 Jan 2004 03:42:49 -
@@ -244,3 +244,182 @@
 }
 }
 
+int
+init_hkscs(OtherStatePtr s)
+{
+s-hkscs.mapping =
+FontEncMapFind(big5hkscs-0, FONT_ENCODING_UNICODE, -1, -1, NULL);
+if(!s-hkscs.mapping) return 0;
+
+s-hkscs.reverse = FontMapReverse(s-hkscs.mapping);
+if(!s-hkscs.reverse) return 0;
+
+s-hkscs.buf = -1;
+return 1;
+}
+
+unsigned int
+mapping_hkscs(unsigned int n, OtherStatePtr s)
+{
+unsigned int r;
+if(n  128) return n;
+if(n == 128) return EURO_10646;
+r = FontEncRecode(n, s-hkscs.mapping);
+return r;
+}
+
+unsigned int
+reverse_hkscs(unsigned int n, OtherStatePtr s)
+{
+if(n  128) return n;
+if(n == EURO_10646) return 128;
+return s-hkscs.reverse-reverse(n, s-hkscs.reverse-data);
+}
+
+int
+stack_hkscs(unsigned char c, OtherStatePtr s)
+{
+if(s-hkscs.buf  0) {
+if(c  129) return c;
+s-hkscs.buf = c;
+	return -1;
+} else {
+int b;
+if(c  0x40 || c == 0x7F) {
+s-hkscs.buf = -1;
+return c;
+}
+if(s-hkscs.buf  0xFF  c  0xFF)
+b = (s-hkscs.buf  8) + c;
+else
+b = -1;
+s-hkscs.buf = -1;
+return b;
+}
+}
+
+
+/*
+ *  Because of the 1 ~ 4 multi-bytes nature of GB18030.
+ *  CharSet encoding is split to 2 subset (besides latin)
+ *  The 2Bytes MB char is defined in gb18030.2000-0
+ *  The 4Bytes MB char is defined in gb18030.2000-1
+ *  Please note that the mapping in 2000-1 is not a 4Bytes seq = 2Bytes value
+ *  mapping.
+ *  To use the 2000-1 we need to 'linear' the 4Bytes sequence and 'lookup' the 
+ *  unicode value after that.
+ *
+ *  For more info on GB18030 standard pls check:
+ *http://oss.software.ibm.com/icu/docs/papers/gb18030.html
+ *
+ *  For more info on GB18030 implementation issues in XFree86 pls check:
+ *http://www.ibm.com/developerWorks/cn/linux/i18n/gb18030/xfree86/part1
+ */
+int
+init_gb18030(OtherStatePtr s)
+{
+s-gb18030.cs0_mapping =
+FontEncMapFind(gb18030.2000-0, FONT_ENCODING_UNICODE, -1, -1, NULL);
+if(!s-gb18030.cs0_mapping) return 0;
+
+s-gb18030.cs0_reverse = FontMapReverse(s-gb18030.cs0_mapping);
+if(!s-gb18030.cs0_reverse) return 0;
+
+s-gb18030.cs1_mapping =
+FontEncMapFind(gb18030.2000-1, FONT_ENCODING_UNICODE, -1, -1, NULL);
+if(!s-gb18030.cs1_mapping) return 0;
+
+s-gb18030.cs1_reverse = FontMapReverse(s-gb18030.cs1_mapping);
+if(!s-gb18030.cs1_reverse) return 0;
+
+s-gb18030.linear  = 0;
+s-gb18030.buf_ptr = 0;
+return 1;
+}
+
+unsigned int
+mapping_gb18030(unsigned int n, OtherStatePtr s)
+{
+if(n = 0x80)   return n;   /* 0x80 is valid but unassigned codepoint */
+if(n = 0x) return '?';
+
+return FontEncRecode(n,
+(s-gb18030.linear)?s-gb18030.cs1_mapping:s-gb18030.cs0_mapping);
+}
+
+unsigned int

[I18n] Patch to use double width font (xft) in xterm

2003-12-29 Thread Zarick Lau
Hi,

I have made a patch on xterm so that, it can accept one more option /
resource, to utilize two fonts when using xft.

Originally, -fa option will make xterm to use xft instead of XFontSet,
but however, in most cases, this option is broken, as most CJK TTF fonts
can't have good (acceptable) monospaced appearance. Hence, I add one
more option '-fd' to accpet another font for 'double width' char.

Regards,
Zarick Lau
diff -u xterm/charproc.c xterm-new/charproc.c
--- xterm/charproc.c	2003-11-28 08:49:17.0 +0800
+++ xterm-new/charproc.c	2003-12-17 14:43:24.0 +0800
@@ -625,6 +625,7 @@
 #ifdef XRENDERFONT
 Ires(XtNfaceSize, XtCFaceSize, misc.face_size, DEFFACESIZE),
 Sres(XtNfaceName, XtCFaceName, misc.face_name, DEFFACENAME),
+Sres(XtNfaceNameDoublesize, XtCFaceNameDoublesize, misc.face_wide_name, DEFFACENAME),
 #endif
 };
 
@@ -4948,6 +4949,8 @@
 #ifdef XRENDERFONT
 wnew-screen.renderFont = 0;
 wnew-screen.renderFontBold = 0;
+wnew-screen.renderFontWide = 0;
+wnew-screen.renderFontWideBold = 0;
 wnew-screen.renderDraw = 0;
 #endif
 
diff -u xterm/fontutils.c xterm-new/fontutils.c
--- xterm/fontutils.c	2003-10-29 07:11:58.0 +0800
+++ xterm-new/fontutils.c	2003-12-22 12:06:33.0 +0800
@@ -1130,6 +1130,27 @@
 	if (!screen-renderFontBold  match)
 		XftPatternDestroy(match);
 
+	if (!screen-renderFontWide  term-misc.face_wide_name) {
+		screen-renderFontWide = XftFontOpen (dpy, DefaultScreen (dpy),
+	   XFT_FAMILY,
+	   XftTypeString,
+	   term-misc.face_wide_name,
+	   XFT_PIXEL_SIZE,
+	   XftTypeInteger,
+screen-renderFont-max_advance_width * 2,
+	(void *) 0);
+		screen-renderFontWideBold = NULL;
+	}
+	else {
+		screen-renderFontWide = XftFontOpen (dpy, DefaultScreen (dpy),
+			XFT_FAMILY, XftTypeString, mono,
+			XFT_WEIGHT, XftTypeInteger, XFT_WEIGHT_BOLD,
+			XFT_PIXEL_SIZE, XftTypeInteger,
+screen-renderFont-max_advance_width * 2,
+			(void *) 0);
+		screen-renderFontWideBold = NULL;
+	}
+
 	/*
 	 * FIXME:  just assume that the corresponding font has no graphics
 	 * characters.
diff -u xterm/main.c xterm-new/main.c
--- xterm/main.c	2003-11-25 09:54:43.0 +0800
+++ xterm-new/main.c	2003-12-17 14:49:58.0 +0800
@@ -778,6 +778,7 @@
 #endif /* NO_ACTIVE_ICON */
 #ifdef XRENDERFONT
 {-fa,		*faceName,	XrmoptionSepArg,	(caddr_t) NULL},
+{-fd,	*faceNameDoublesize,	XrmoptionSepArg,	(caddr_t) NULL},
 {-fs,		*faceSize,	XrmoptionSepArg,	(caddr_t) NULL},
 #endif
 #if OPT_WIDE_CHARS
@@ -925,6 +926,7 @@
 { -/+fbx,turn off/on linedrawing characters},
 #ifdef XRENDERFONT
 { -fa pattern,   FreeType font-selection pattern },
+{ -fd pattern,   FreeType Doublesize font-selection pattern },
 { -fs size,  FreeType font-size },
 #endif
 #if OPT_WIDE_CHARS
diff -u xterm/os2main.c xterm-new/os2main.c
--- xterm/os2main.c	2003-05-22 06:59:13.0 +0800
+++ xterm-new/os2main.c	2003-12-17 14:48:48.0 +0800
@@ -344,6 +344,7 @@
 #endif /* NO_ACTIVE_ICON */
 #ifdef XRENDERFONT
 {-fa,		*faceName,	XrmoptionSepArg,	(caddr_t) NULL},
+{-fd,		*faceNameDoublesize,	XrmoptionSepArg,	(caddr_t) NULL},
 {-fs,		*faceSize,	XrmoptionSepArg,	(caddr_t) NULL},
 #endif
 #if OPT_WIDE_CHARS
@@ -484,6 +485,7 @@
 { -/+fbx,turn off/on linedrawing characters},
 #ifdef XRENDERFONT
 { -fa pattern,   FreeType font-selection pattern },
+{ -fd pattern,   FreeType Doublesize font-selection pattern },
 { -fs size,  FreeType font-size },
 #endif
 #if OPT_WIDE_CHARS
diff -u xterm/ptyx.h xterm-new/ptyx.h
--- xterm/ptyx.h	2003-10-27 09:07:57.0 +0800
+++ xterm-new/ptyx.h	2003-12-17 10:02:29.0 +0800
@@ -1376,6 +1376,8 @@
 #ifdef XRENDERFONT
 	XftFont		*renderFont;
 	XftFont		*renderFontBold;
+	XftFont		*renderFontWide;
+	XftFont		*renderFontWideBold;
 	XftDraw		*renderDraw;
 #endif
 #if OPT_INPUT_METHOD
@@ -1513,6 +1515,7 @@
 #endif
 #ifdef XRENDERFONT
 char *face_name;
+char *face_wide_name;
 int face_size;
 #endif
 } Misc;
diff -u xterm/util.c xterm-new/util.c
--- xterm/util.c	2003-10-27 09:07:57.0 +0800
+++ xterm-new/util.c	2003-12-22 12:04:34.0 +0800
@@ -1411,6 +1411,7 @@
 xtermXftDrawString(XftDraw * draw,
 		   XftColor * color,
 		   XftFont * font,
+		   XftFont * wfont,
 		   int x,
 		   int y,
 		   PAIRED_CHARS(Char * text, Char * text2),
@@ -1419,28 +1420,60 @@
 		   int *deltax)
 {
 #if OPT_WIDE_CHARS  defined(HAVE_TYPE_XFTCHARSPEC)
-static XftCharSpec *sbuf;
-static unsigned slen;
 int n;
 int ncells = 0;		/* # of 'half-width' charcells */
+static XftCharSpec * specs;
+static int	nspecs   = 0;
+XftFont *	lastFont = 0;
+XftFont *	currFont = 0;
+int		start	 = 0;
+int		charWidth;
+FcChar32	wc;
+
+if ((int) nspecs  len) {
+	nspecs = (len + 1) * 2;
+	specs  = (XftCharSpec *) XtRealloc((char *) specs

[I18n] An Xlib related question.

2003-09-25 Thread Zarick Lau




Hi,

I'm afraid this would be a OT for this list, but I don't know a proper list for this kind of question.

When I am going to setting up a interface between two X client to communicate, I found that, there is actually two mechanism available. But I don't know about their pros and cons.. Hence anyone can share some advice with me?

The two mechanism is
1. Using selection, SetSelectionOwner, Selection{Clear,Request,Notify} to communicate.
2. Use XSendEvent with event type = ClientMessage to communicate.

It seems that, selection is a must to for both side to know each other window id, but after acquiring a window id, there communication can then achieved by 'client message' OR 'selection convert' mechanism. And using client messages seems less expensive, as message is just sent to recipient with a window id, while using selection convert needs a few rounds of message.

On the other, in X lib programming manual, it doesn't talk a lot about the 2nd approach. It only state that, 'Selection' is an important mechanism to achieve Inter client communication.

Would anyone clear up my mind??

Regards,
Zarick Lau




Re: [I18n] XIM Server cannot receive XNSpotLocation event when usingXIMPreeditCallbacks mode?

2003-05-30 Thread Jacky Lau Hok Yan
Hi,

Sometimes before, I found the same problem, but I think it may be a 
problem from GTK+2.
You may have a look on the gtk-i18n ml.

Jacky Lau

James Su wrote:

Hi,

I'm using gtk+2.x and noticed that my XIM server cannot receive the
XNSPotLocation event from gtk application, which cause the input window will not
locate correctly like over the spot mode. I looked at the source code of gtk+2.x
and ensure that the XNSpotLocation event is sent by XSetICValues correctly, but
XIM Server receives nothing.
I have reported a bug on bugs.xfree86.org, the ID is 259.

Regards
James Su
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n
 



___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n


Re: [I18n] plans for XIM: replace it? by what?

2003-03-04 Thread Lau Hok Yan, Jacky
Hi David,

 I remember discussions about UTF-8 and XIM, and some people pointed out
 that the XIM protocol was too complicated for what it did and wanted to
 get rid something better and simpler. Has there been work on that?

You may want to have a look on here:
http://www.openi18n.org/subgroups/im/IIIMF

Cheers,
Lau
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n


[Fonts] Does fontconfig is used in other major project?

2003-01-21 Thread Lau
Hi all,

  As I'm totally agree that, the fontconfig brings a lot of benefit for us. It provide 
a far 
better cleaner approach to manage the fonts in the system, however, I would also 
know that, besides Gnome, KDE, and mozilla, does other major software in Linux have 
used or decide to shift to use fontconfig (or even with Xft, ft2)? For example, OOo, 
Ghostscript, gnome office, koffice?

  As I think that, one of the fontconfig adv is to ease to management of fonts, or
configuring new fonts in the system, without applying fontconfig for other major
software (esp OOo and GS), user (including me, sure) will still need to waste their
time to configure a font for different system, am I right??

Thanks, and regards
Lau
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Newbie]NS CX5530(A) Support

2002-11-02 Thread Ben Lau
Hi,

I have a biscuit PC from advantech using NS
CX5530(A) chip. I wish to run X on the hardware board.
But I can't find any information on NS chip support on
X. I have used vga or vesa driver , but it can product
320*200 resolution only.. I wish to have 640x480
256/16bits color. Do any one how to configure X for
the chip? Thx for any advise!

http://216.239.33.100/search?q=cache:Cfw7zDUsmSEC:www.advantech.com/products/PCM-5822.asp+PCM-5822hl=enie=UTF-8

_
1874(³¯«³¨³)¡A¦A¨£ÅSµ·º¿²ú(¦óÃý¸Ö)¡A·à¤l¤s¤U(ù¤å)...
Over 800 latest ringtones, only on Yahoo!
http://ringtone.yahoo.com.hk
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



Re: [Xpert]X starting with GNOME Desktop Error

2002-10-23 Thread Jacky, Lau
Hi,

 Was wondering if someone knows why I'm getting:
 
 AUDIT: Tue Oct 22 07:50:51 2002: 353 X: client 125 rejected from local 
 host
 
 in my XFree log file when trying to start X with GNOME as the desktop.  
 I can set metacity as the window manager and start GNOEM from an xterm 
 window and it works.

Should you add xhosts + in some where like xinitrc, etc/?

Lau
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Fonts]problem with xftcache

2002-10-22 Thread Jacky, Lau
Hi,

 Starting this morning, I'm not able to run xftcache on any of my font
 directory.  I am getting Can't scan directory... on each of the
 directories.  I can't find any way of dumping more information, so I'm
 in the dark.  If anyone has any ideas on what might be causing this,
 please let me know.
 
 This is a problem for me, because this is causing the 'apt-get upgrade'
 of my Debian sid installation to fail.
 
 Xf86 Version: 4.2.1 (deb revision #3)

What have you upgraded?

In you've upgraded to use Xft2, with fontconfig (libfontconfig.so.1, and libXft.so.2), 
you should set the /etc/fonts/fonts.conf.
Then, use fc-cache, to pre-cache the font meta data.
fc-cache should be used instead of xftcache in this case.

If you say no for the above ans, you should tune your /etc/X11/XftConfig file.

Lau
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Question about CHARSET_COLLECTION property of bdf font inside xc/fonts/75dpi/

2002-10-11 Thread Jacky, Lau

Hi,

Does anyone can tell me something about the 'CHARSET_COLLECTION' property of 
bdf font files?

Actually, it seems that there is a lot of available properties for bdf font 
file, which is unspecified in bdf spec from X, or from adobe. Is there any other 
source for those properties??

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]A problem on using fonttootf problem

2002-10-08 Thread Jacky, Lau

Hi,

I have recently trying to use the fonttootf to convert a bdf font into otf.

But there is a few problem and I'm not sure it the problem is from the bdf 
font, fonttootf or freetype?

First, the bdf font is encoding in Big5 (to be exact the encoding should be 
Big5-HKSCS). When I run the fonttootf, Seqfault!!

I use gdb to take a look and found that, the cause is the absent of a 
'FAMILY_NAME' so freetype just set the face-family_name to 0 and the when
 full_name = malloc(strlen(face-family_name) + 1);  occurs inside read.c:81 of the 
fontofotf, it bombs.

As the font is originally grab from internet, the there is no the property for 
a long time (since I use it and til now), nothing goes wrong in before. I start to 
check the bdf document inside XFree (I can know about these only document regarding 
bdf). Inside that document it has no specify the family_name is required. On the other 
hand, freetype seems to accept the absent of family_name also. And one of my question 
is does the family_name property is a must of BDF, or X,  and is there any other 
spec or the likes for BDF fonts??

My another question is solely freetype oriented. Why the API for the bdf 
driver seems missing?? 
The reason I'm quite concerns to changing the bdf big5 encoded fonts is, for 
chinese, public domain TTF is totally unacceptable at small point size. In the past 
years, I start to use a 12pt bdf chinese fonts, it is excellent. And my thought is to 
convert this bdf to otf, or even get a means (I still don't know how :P) to combine 
the bitmap with existing Public Domain TTF. This may be another goods news for chinese.

Even I have added the 'FAMILY_NAME' prop into the bdf font, the program still 
can't complete : ( as the reason is the bdf font is encoded in Big5, BUT fonttootf 
does only select UNICODE. How can I solve it.

I am now start studying the freetype2, so, for the problem above, any pointer 
or sugguest is good enough, as I don't mind to modified the fonttootf for my self use!!

Here, thanks in advance!!
Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Newbie]Compiling X 4.2

2002-10-01 Thread Jacky, Lau

Hi,

I have some question on compiling X, my box is Linux RedHat7.2 based (with a 
lot of changes.) The previous version I use is XFree864.1 and now I want to compile 
XFree86-4.2.1.

I've copied the xf86site.def as host.def. And modify the host.def as I wanted, 
I 'make World' than. And it reports 

  Full build of Release 6.6 of the X Window System complete. 

So, I assume it really build complete, but actually, I find libX11.so doesn't exists 
at all. I find that, many other libraries are there, but just libX11. I think it may 
be due to my misconfig'd host.def, isn't??

Which option is related to this problem, I have revisit the host.def, but have 
no idea!!

Also, it seems that, a lot of option inside host.def can control the build 
product. In other words, the option is instructing the build script to build something 
or not to something. Where is the definitive list of those option?
'xf86site.def'??

Zenith Lau
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



Re: [Newbie]XFree86 4.2.0 configuration questions

2002-09-27 Thread Jacky, Lau

Hi,

 
 1)  When i run 'XFree86 -configure' the program tells me that the glide
 library is missing.  I am running a GeForce2 MX400 AGP graphics
 accelerator.  Do i need to resolve this problem?  If so, where do i
 get the library files i need?
Not 'glide' is only for tdfx??

 
 When i add the line 'Option Protocol usb' to the XF86Config.new
 file, the program tells me that this is not a valid protocol.
Most Usb mouse I've tried is using the 'IMPS/2' as the mouse protocol,
I'm not sure, if it's a rule for the world, but it workth to give it a try :)

 
 3)  The last problem is the most frustrating.  Currently, i can only
 boot linux in Single User mode.  This is because whenever i try
 another style, the loading process reaches the X font server and
 stalls indefinitely.
What's version of Xfree do you use?

Zenith
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



Re: [Newbie]Installing X windows 4

2002-09-27 Thread Jacky, Lau

Hi,

 XFree86 Version 3.3.6a / X Window System
 (protocol Version 11, revision 0, vendor release 6300)
 Release Date: April 19, 2001
 If the server is older than 6-12 months, or if your card is newer
 than the above date, look for a newer version before reporting
The X being ran is 3.3.6, but

 
 XF86Config: /usr/X11R6/lib/X11/XF86Config
 (**) stands for supplied, (--) stands for probed/default values
 
 Config Error: /usr/X11R6/lib/X11/XF86Config:1
 
 Section ServerLayout
 ^^
 not a recognized section name
The config file is in XFree86-4.x format, as 'ServerLayout' is new section starting
from 4.x version.

As redhat kept both 3.3 and 4.1 version of XFree, you can try
$ ls -l /etc/X11/X
$ ln -sf /usr/X11R6/bin/XFree86 /etc/X11/X
use this to setting the X(symbolic link) to the XFree86 which is the version 4.1 
binary. And restart it.

HY, Lau
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



[Newbie]Where can I find patches for XFree86

2002-09-24 Thread Jacky, Lau

Hi,

Hello, I find that, inside the xfree86 package from RH, there is lot of
patch, is that all patches from RH, or part of the patches is floating on the
ML, or there is some repository to hold this fix/patch??

Zenith
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



Re: [Newbie]Question

2002-09-23 Thread Jacky, Lau

Hi,

export PATH=$PATH:/path/to

 How do I permanently append a path for my PATH environment variable? 
 I have tried PATH=$PATH:/home/ra.
 I have tried PATH=exsisting path+:/home/ra..
 they both work...temporarily.
 I want the PATH variable to STAY when I change it. 
 Every time I reboot, it reverts back to the original PATH.
 Do I have to go into the file where it is located?
 Do I need a different syntax?
 Email solution to : [EMAIL PROTECTED]
 
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



[Xpert]Compiling XFree 4.2.1 with Gcc 2.96

2002-09-20 Thread Jacky, Lau

Hi,

I have tried to build XFree86-4.2.1 (I got a patch in ftp.xfree86.org), with 
Gcc 2.96.

After I have done the make install, I try to start X, the following error 
occurs.

Elf_RelocateEntry() Unsupported relocation type 4   
Elf_RelocateEntry() Unsupported relocation type 3
Elf_RelocateEntry() Unsupported relocation type 4
Elf_RelocateEntry() Unsupported relocation type 9
..
Symbol _GLOBAL_OFFSET_TABLE_ from module 
/usr/X11R6/lib/modules/fonts/libbitmap.a is unresolved!
Elf_RelocateEntry() Unsupported relocation type 10
..
Fatal server error :
Caught signal 11. Server aborting

What's the problem, gcc, or x or the patch, or anything else?

My base distro is RH7.2

Zenith Lau
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Fonts]ttmkfdir and mkfontscale

2002-09-18 Thread Jacky, Lau

Hi,

Thank you very much!!

So, it means that, mkfontscale can do the job for my fonts, for my X Server, whatever 
it font file type and whatever the font module (freetype/type1/xtt)??

Does it also handle pcf/bdf entries??

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Problems occur when I'm going to compile Galeon2

2002-09-17 Thread Jacky, Lau

Hi,

I have noticed the things on Galeon2, from the website and going to try it out.
But, I have got a problem :

I use the mozilla-1.1 release source as the base, and patch a 'xft2-enabling 
patch'
on it. All things fine, I compile, installing and using it galeon happily.

But when I try to apply the gtk2 patch from galeon www to it, though the patch 
seems
applied successful, but the mozilla can't compile. The error :


-
nsFontMetricsGTK.cpp: In method `gint nsFontGTKXft::DrawString 
(nsRenderingContextGTK *, nsDrawingSurfaceGTK *, int, int, const 
PRUnichar *, unsigned int)':
nsFontMetricsGTK.cpp:3231: `GdkRegionPrivate' undeclared (first use 
this function)
nsFontMetricsGTK.cpp:3231: (Each undeclared identifier is reported only 
once for each function it appears in.)
nsFontMetricsGTK.cpp:3231: `priv' undeclared (first use this function)
nsFontMetricsGTK.cpp:3231: parse error before `)'
nsFontMetricsGTK.cpp: In method `gint nsFontGTKXft::DrawString8 
(nsRenderingContextGTK *, nsDrawingSurfaceGTK *, int, int, const char 
*, unsigned int)':
nsFontMetricsGTK.cpp:3274: parse error before `)'
make[4]: *** [nsFontMetricsGTK.o] Error 1
make[4]: Leaving directory `/tmp/mozsource/mozilla/gfx/src/gtk'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/tmp/mozsource/mozilla/gfx/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/tmp/mozsource/mozilla/gfx'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/tmp/mozsource/mozilla'
make: *** [default] Error 2

-

I think it may be caused by the Xft2 enabling patch, as GdkRegionPrivate is 
gone..

Anyone has successful experience in getting Mozilla + Xft2 + Gtk2 + Galeon2 
work??

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Italic and oblique feature in fontconfig

2002-09-09 Thread Zenith Lau

Hi,

I have a question on font.conf.

In font.conf, we can set up a match target=font for oblique/italic font, 
using 
the feature from freetype. Hence, when the apps select a italic sans font, by 
the 
series of match/edit operation, a pre-configured font(s) will used for 
different 
lang. In my understanding, using the default font.conf file, when a 
sans-12:oblique, 
the effective font being used is a the preferred font PLUS a scaling with  the 
matrix
{1,.2,0.1}. When the font, is rendered. It is already scaled. The result will 
be a 
artificially transformated glyphs image.

But, how can I setting up the font.conf, so that, for every font-family, there 
is a list of
entries like :
- AR PL Mingti2L Big5:style=Reguler
- AR PL Mingti2L Big5:style=Italic

As of the current situation, when apps requestion available fonts listing, and 
present
the available font to user, obviously, there is no font file which can provide 
the italic 
Mingti2L font. Hence, the user will only see that, there is one Mingti2L font, 
which is 
style=Reguler, however, as the artificial scaling/italic is here, I wonder 
if there is any
way for me to set up the config, so that, when apps request for fonts, 
fontconfig will
also provide AR PL Mingti2L Big5:style=Italic.

Thx
Zenith Lau
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Storing the cached font (fonts.cache) information

2002-09-06 Thread Zenith Lau

Hi,

I think I've some opinion on this ~

 However, storing cached information in what is ostensibly a read-only 
 directory is unfriendly and violates the FSH guidelines.  This data is
 just cached versions of data available from the font files themselves and 
 so the FSH says it should live (somehow) in /var/cache.
Good move!

 Any directories not matching a configured prefix would map to themselves; 
 this makes the existing configuration and cache files compatible.
How do you resolve any fonts which doesn't located under /usr/share/fonts ?
Some one like to put fonts under different mount points and for me, I put most of my
TTF under /usr/X11R6/lib/X11/fonts/local .
Is it possible to for this way :

1. Let's assume the caching directory is called FontCachePrefix/
2. Add one additional mapping table under the FontCachePrefix/
3. Such that, we lookup the cache for a specific directory by keeping the relation of 
each cache file and its' corresponding font directory.
4. So that, we don't need a complicated sub-dir. tree under our FontCachePrefix/
5. The listing can be in binary to minmize the extrax cost for this additional table 
(file).
6. Finally, for each font directory, we can put the cache as something like 
path-to.cache
or simply 1.cache, 2.cache etc.

 Does this seem like a good plan?  Can anyone come up with a better way of 
 moving the storage of fonts.cache into /var/cache?

Yes, personally, I don't like cache placed around my fonts directory : )
Also, this will make reonly /usr partition for practical.
But, /var/cache/fonts is already specified in the FHS, that, this directory is for 
dynamically generated fonts, I quote it here :

5.5.3 /var/cache/fonts : Locally-generated fonts (optional)
5.5.3.1 Purpose
The directory /var/cache/fonts should be used to store any dynamically-created 
fonts.
In particular, all of the fonts which are automatically generated by mktexpk 
must be
located in appropriately-named subdirectories of /var/cache/fonts.[footnote 31]
5.5.3.2 Specific Options
Other dynamically created fonts may also be placed in this tree, under 
appropriately-named subdirectories of /var/cache/fonts.

Hence, I think, cooperation with FHS is needed or, we simply use another prefix.
Though, I think /var/cache/fonts should be the better, as I like the style what 
fontconfig do.

I hope that, the combination ft + fc can be adopted more widely.

Zenith Lau
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]About Fcpackage and Li18nux2K.

2002-09-06 Thread Zenith Lau

Hi,

I have recently read the Li18nux2K. The globalization spec. from li18nux.org. 
but it seems
that, there is no any relation between fontconfig/Xft and this spec.

IMHO, Li18nux2K regulate and standardize the direction of i18n while, 
fontconfig/Xft is 
complete font management for fonts and the next trend in drawing in X. Why 
fontconfig/Xft doesn't appear in that spec. ?

On the other hand, I remember this is some projects on fonts and type service 
from 
Li18nux.org. I afraid there will be two set of facility regard fonts handling 
in further, if
there is no cooperation between fontconfig/Xft and li18nux.

Zenith Lau
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Storing the cached font (fonts.cache) information

2002-09-06 Thread Zenith Lau

Hi,

   Any directories not matching a configured prefix would map to themselves; 
   this makes the existing configuration and cache files compatible.
  How do you resolve any fonts which doesn't located under /usr/share/fonts ?
 
 The prefix mapping would be configurable; add a map from 
 /usr/X11R6/lib/X11/fonts to /var/cache/fontconfig/x11-fonts and you'll
 get your cache files for fonts in the standard X directories stored
 in /var/cache/fontconfig/x11-fonts.
 
  2. Add one additional mapping table under the FontCachePrefix/
 
 I can either store the mapping table in a file or directly in the file 
 system; I don't have a strong preference, but using the file system is 
 likely to involve fewer but more complicated system calls during 
 application startup.  It might also involve a slight bit of overhead.  The 
 advantage is that there aren't any synchronization issues; each cache file 
 is accessable without reference to a separate file.  It seems like that 
 should be more robust in many ways.

Sorry, do you mean that, store the mapping table in the file system, 
you are talking about the first idea?

Anyway, I agree that additional table in a file is less robust and involve 
more overhead.

For the configurable prefix mapping, how do it exists? 
Also it is permissable that, there are many dir in the fonts.conf.
Is it possible to store the mapping as properties of the dir elements?

 
  But, /var/cache/fonts is already specified in the FHS, that, this
  directory is for dynamically generated fonts, I quote it here :
 
 Sigh.  We'll use /var/cache/fontconfig then.  I don't really care.
 
  Though, I think /var/cache/fonts should be the better, as I like the style
  what fontconfig do.
 
 To some extent, we can ask if a slight reinterpretation of the FSH can be 
 permitted in this case.

Ok.

Best Regards,
Zenith Lau
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]edit antialias=false equivalent in fonts.conf

2002-08-28 Thread Zenith Lau

Hi, 

 There are a lot of knobs to turn in selecting how to render fonts.  What 
 I'd like to see is some consistent set of orthogonal knobs all layed out 
 together.  Continuing down our current path of a random set of variables 
 seems like a bad plan.

Besides AA, embedded bitmap, and subpixel rendering, what is other knobs?? Gamma 
correction? Scaling? Boldening? or I totally get the wrong direction??

I don't know much, as I'm still a new commer on typography!!

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Compiling 'Xft enabled' mozilla source failed...

2002-08-22 Thread Zenith Lau

Hi,

I have get the mozilla 1.1b and patch it with the xft patch from keithp.com, 
and patch can
applied successful, but the compilation is still failed. The follwing is the 
error :
=== 
fccharset.c: In function `FcFreeTypeCharIndex':
fccharset.c:906: warning: comparison between signed and unsigned
fccharset.c:915: warning: comparison between signed and unsigned
fccharset.c:924: warning: comparison between signed and unsigned
fccharset.c: In function `FcFreeTypeCharSet':
fccharset.c:1007: warning: comparison between signed and unsigned
fccharset.c:1046: too few arguments to function `FT_Get_Next_Char'
fccharset.c:1073: too few arguments to function `FT_Get_Next_Char'
=== 

I've noticed, it have a own copy of fontconfig/Xft/freetype inside the source 
tree. Why do
they not just link with the system side .so library ?? Is it the cause of the 
program.

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]xft with mozilla and openoffice ?

2002-08-14 Thread Zenith Lau

Hello boys and girls,

While the GTK and QT works work with Xft, and my desktop is now VV good, at 
least better than the M$ Win. in my machine. Now I'd like to explore some other 
things, ie. Mozilla, and Open Office. I've heard that there is a patch for mozilla for 
xft, but it's a long time ago, seems to be... Does mozilla use Xft currently ?? Which 
version, or only in CVS ??

Also, how about Open Office, does it use Xft, or in stable release, cvs or not 
yet started ??

Thx in advance !!
Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]enquiry about pcf/bdf font support

2002-08-13 Thread Zenith Lau

Hello everybody ,

may I know about the current status on Xft/fontconfig support for the bdf / 
pcf bitmap fonts??

I suppose it should be work, but, I can't see my bitmap fonts in fc-list 
output.
and so here comes my question .!!

Thx in advance

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [I18n](no subject)

2002-08-10 Thread Zenith Lau

Baiju M

Under X, you may want to follow XIM (the mechanism you are asking) to implement a 
input method server.
If you want to do in this approach, have a look on the source of some existing input 
method. E.g. kinput, xcin.

Yet, there is another larger scale framework, a more generic approach for input issue 
under linux. But I'm familiar with this yet, pls check the links for details:
http://www.li18nux.org/subgroups/im/IIIMF/index.html

Zenith 

On Fri, 9 Aug 2002 17:09:09 +0400 (SCT)
Baiju M [EMAIL PROTECTED] wrote:

 Hi,
I am trying to develop an input method for our language (Malayalam).
 Our uniocode range is from U+OD00 to U+0D7F, we also required
 ZWJ (U+200D). In the GPLed font (http://malayalamlinux.sf.net),
  the Private/Corporate Use area in unicode is utilised for our language.
 
 Suppose, I want to access U+ED52 by a single key stroke (say
 keycode 30), how can I do that? it should be mapped as U+0D28  U+0D4D
 U+200D
 Which input mechanism I should make use for this?
 If possible give an example in xim,xmodmap,xkb or any other input mechanism.
 
 Regards,
 Baiju M
 
 
 ___
 I18n mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/i18n
 
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n



[Fonts]Can I test for the sub-pixel rendering function ?

2002-08-01 Thread Zenith Lau

Hello !

I have read some web and article on sub-pixel rendering, I am using a LCD 
monitor (I'm a notebook user), and want to try this excellent function.

As I am just compile all the thing and install it by myself, I think the 
default situation is sub-rendering is not enabled.

I've add the lines into ~/.fonts.conf, and restart X, but how can I test it ?? 

Does any modification to fonts.conf will affect the fontconfig behavior 
immediately??

Or, there is some means / program to make the modification take effects??

Last question, the value for rgba, is [rgb | bgr | vrgb | vbgr], does all this 
is for sub-pixel rendering ? I know that, rgb or bgr is the seq for the Red, Green, 
and Blue position, but how about the 'v' stand for??

Thx!
Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Query about Xft2 and Pango, GDK dependency.

2002-07-26 Thread Zenith Lau

Hi all !!

I have download the fcpackage (02-07-17) tarball and I have just upgrade the 
freetype libs to 2.1.2. I am going to install the fcpackage libs and also gdk, pango 
stuffs. But I'd like to ask about the dependency problem first.

I've read some previous post regarding 'fontconfig, xft2,  play together', 
but I think there is no ans for me, So I post a new one for this!!

At this point, I know that, Xft2 is derived from xft1 which font config 
management  function is split into fontconfig libs. and Xft2 doesn't requires xrender; 
pango and gdk do require Xft1, originally, but should be work fine with Xft2 and 
friends. OK, do I have some wrong interpretation?? If there is, pls correct me : ).

When configuring and compiling fontconfig, I find that, I can't control the 
configure script to install the pkgconfig file (.pc) to /usr/lib/pkgconfig, while 
install others under /usr/X11R6 .. and finally I just manually put the fontconfig.pc 
into where I want. It is a fact or a convention that, we should install the .pc file 
with same libprefix as other so files within the same package ? Or, I can config it 
via some means, or anything else ??

While, I'm going to compile the libs, I started from fontconfig, then, Xft 
(should be v2), yet, I find that, the make install overwrite the original includes dir 
of Xft1. Is it neccessary to install Xft2 and Xft1 parallelly? Or just override the 
Xft1 with Xft2 ??

Before I compile and install the Xft2, I've tried to compile the Xft1, but, I 
don't know how to configure the process, as I can't find the configure script ... what 
should I do?? It's also the same situation for Xrender libs.

Afterall, does all these four libs is necessary? To compile and install it ?? 
What's the dependency of these libs ? And what's the config file for this ?? 
/etc/fonts/fonts.config or /etc/X11/XftConfig?? While studying the configure files, 
and likes inside, it seems that, Xft1 will use fontconfig if there exist. For Xft2, it 
still require Xrender and also fontconfig.

When I run configure in pango, it haven't detect anything about fontconfig. It 
also doesn't detect the freetype, and Xft header correctly. I am totally stalled on 
it... any idea to solve it??

checking for freetype-config... /usr/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking For sufficiently new FreeType (at least 2.0.1)... yes
checking freetype/internal/tterrors.h usability... no
checking freetype/internal/tterrors.h presence... no
checking for freetype/internal/tterrors.h... no
checking for FT_Get_First_Char... yes
checking for XRenderFindFormat in -lXrender... yes
checking for XftFontOpen in -lXft... yes
checking X11/Xft/XftFreetype.h usability... no
checking X11/Xft/XftFreetype.h presence... no
checking for X11/Xft/XftFreetype.h... no

Sorry for my long post, filled with Questions !!

Zenith Lau
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Question on xft font library.

2002-07-18 Thread Zenith Lau

Keith, thanks for your patient to answer these!!

  1. It seems that XFT is so good, so what's about the conventional fonts
  module inside X, like the xtt, freetype, type1, etc...
 
 The X server can still provide fonts for applications not yet ported to 
 Xft.  These modules will be useful as long as you have some older 
 applications left around.
Do you mean that, these two module is stable enough, and no active development works 
is carried on these?

  3. If I want to use XFT, should I use DRI modules??
 
 The older Xft did require the Render extension, but all XFree86-based X 
 servers have provided that for over a year now, including those built from 
 sources directly from the DRI project.
 
 The new Xft (not yet released, but in CVS) doesn't even need Render and 
 will work on any X server.

I have heard something about Xft2, I even get a copy of it from somewhere, I forget, 
but it is binary. I remember that, I can't find the source from that site.
Anyway, what's the version of Xft which is considered latest, and what's the version 
included in XFree86-4.2?

I also heard about fontconfig, by the paper on you web site, but is it include in 
XFree4.2?
Again, what's the current version. May I have some more references relating to 
fontconfig?

Though, I know that these two libraries (Xft, and fontconfig) is develop and maintain 
by Keith, but does it have a official website, or these two library won't have a 
website due to the fact that, it is under XFree??


  6. In xtt, the ttcap functions is useful for chinese fonts (I am a
  Chinese), however, does freetype provide this, or xft provide this?? 
 
  7. If similar functions of ttcap is not available in xft and freetype
  currently, will it been in the todo list later.
 
 ttcap isn't relevant for Xft.  Xft provides full support for all TrueType
 and Type1 fonts, and has some special support for Han languages to ensure
 that the right fonts are used in each locale.  Xft supports a large number
 of rendering configuration options for fonts.  The subsetting options 
 aren't relevant as Xft always incrementally rasterizes fonts.
Does incrementally rasterizes fonts means, the cache mechanism for inside Xft, ie. 
Xft will only rasterizes glyphs on demand, right?

but I don't understand, why those subsetting options aren't releveant for Xft.
IMHO, I just think that, to handle such functionality, I can add these function within 
freetype, or do something else on top of it. For the fontconfig, and Xft, as these two 
is responsible for the query fonts, and get glyphs, and render it on X. It should 
handle the case that, alias a font with regular face to italic or bold, also, get the 
desired glyphs (transformed) for the client application. Does my logic right, or 
stupid ??

I want to this answer as this direction is right, as Gnome and Kde is shifting to use 
Xft, enable the function (bold/italic transformation) would benefit more than any 
other possible solution. 

Sorry for my long and a little bit stupid question, as I am new to this field, I am 
working very hard on studying more material relating to these issue : )

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Where can I get some fundamental information on fonts and encoding?

2002-05-10 Thread Zenith Lau

Hi,

Where can I get some fundamental information on fonst, encoding and their related 
information. What I want is some fundamental, but not background information.

For example, is there any place, explain the mechanism on postscript ghostscript and 
chinese fonts, how they work together??
What is the exact format of the encoding file in X11??

One more Question, where can I ask question about Xlib??

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Xpert]single click becomes double clicks after suspend

2002-02-18 Thread Lau

Hi,

I've a problem in xfree86 4.2.0-2.1.  Every time after
i suspend and resume my machine, every single left
mouse click would becomes double clicks. 
  e.g. in enlightenment, clicking the title once will
shade instead of moving
  in gedit, xterm, single click over a word will
select the whole word instead of dragging the cursor
to select anything i want.
  kde is not so serious, if clickwait 15
secondsclick again, will becomes double click.

  The only way to solve the problem is to restart X. 
I've tried stopping gpm, but no help. Logging out and
logging in again in gdm also don't help.


Someone in the xfree86 channel told me to use xev to
test mouse click.  If i click inside the windows,
result before and after suspend is the same, one press
and one release.  If i left click in title bar using
enlightenment, the result is different.

Attached please find 4 files:
okleftclicktitle   before suspend, left click
title
okdoubleclicktitle before suspend, left click
title
leftclicktitle_aftersuspend after suspend, left
click title
doubleclicktitle_aftersuspend   after suspend, double
click title

System:
ThinkPad T20
redhat 7.1  kernel 2.4.9-21
xfree86 4.2.0-2.1
mouse: logitech USB mouseman wheel, also has a
trackpoint(disabling either one still have the
problem)

Thanks for helping,

Regards,
Abe Lau


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk


xev_result.tar.gz
Description: xev_result.tar.gz


[Newbie]Synaptics supported?

2002-01-27 Thread Ka Fai Lau

Is synaptics supported? I have two more button acted
as a wheel in my synaptics touch pad but it doesn't
work. If it is not supported right now, is anyone
writing a driver for it? If no, i am going to write
one

ka fai

__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



[Newbie](no subject)

2002-01-14 Thread Zenith Lau

Just for testing!

In addition, where can I get a more comprehensive tutorial.
Explain core concept in using xlib?
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



[Newbie]Can I ask xlib questin here?

2002-01-14 Thread Zenith Lau

I am a newbie in using mailing list, this is the first time. Please tell me
if have do anything wrong, say, I am too rude

Can I ask question regarding xlib in this mailing list??

BTW, is there any comprehensive reference on the web about xlib.

I have check the documentation in xfree86.org, but that much seems to be a
API reference. I think i need to first familiar with the terms, and general
flow when programming with xlib before I can read that documenation
comfortable.

Zenith
___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie



[I18n]Help: TinyX, Input Methods and Locale.

2001-10-16 Thread Lau Tung-Leng

Dear All,

I am currently writing an Input Method for the TinyX environment on an
in house StrongARM board (very much like the Compaq iPAQ).  I'm using
IMdKit (yes, I know it's kind of outdated...) to develop the IM.

The IM has been set to support en_US, zh_TW and C locales. A
sample application written in GTK+ was used.  GTK+ on this system is
version 1.2.10.

I've set the LC_ALL to be en_US, (and of course, XMODIFIERS to point
to the IM name) and when running the IM and sample application (running
IM before application),  I noted the following:

1. IM reports the GTK+ application of C locale.
2. GTK+ application reports IM of C locale.
3. When IM commits a string to the application, the application receives
the event, but the received string is NULL.

On my system, X11's locale directory is at /usr/X11R6/lib/X11/locale,
and a symbolic link at /usr/lib/X11/locale points to it too.  This
directory was copied off from a x86 Linux system.

As for glibc's locale directory, I've store it at /usr/lib/locale (on my
x86 Linux system, it's stored at /usr/share/locale).

What else am I missing?
Am I making sense?


Thanks for your time,
T Lau.

___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n



RE: [Newbie]Trouble with SiS 630 drivers

2001-09-27 Thread Alvin Lau

I tried not setting the clock chip and still have the same problem as
CristianoAnyway to help? If you have a laptop with Sis630 display
driver, pls send me the XF86Config file
Thanks!

Regards
Alvin Lau

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ian Christie
Sent: Friday, September 28, 2001 12:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [Newbie]Trouble with SiS 630 drivers


If your SiS 630 is anything like my SiS 6326 then you should not set a
clock chip and also should not allow the setup program to Probe Clocks. I
know with 3.3.6 when I let it probe it never worked properly.

Ian Christie

--

When the least they could do to you was everything,
then the most they could do to you suddenly held no terror.
 -- (Terry Pratchett, Small Gods)




At 13:46 09/27/2001 +, you wrote:
I have a Laptop (PIII 1000MHz, 256Mb ram, 20GB HD ecc) , with the SiS 630
chipset (SiS900 Eth. card, etc ...), I have tried the XFree version 3.3.6
supporting this chipset but I can't use the X server.
I've downloaded the driver from www.sis.com and this driver doesn't work
too. I've tried the patch for the XFree 4.0 and doesn't work. What I have
to
do ?? I don't want use linux without the X Server !!

Please help me !!

Thanks Cristiano Paiola.


___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie