[fpc-devel] Save the current FPC UnicodeString!

Martin Schreiber fpmse at bluewin.ch
Fri Nov 13 13:14:49 CET 2009


On Friday 13 November 2009 12:51:58 Michael Schnell wrote:
> Martin Schreiber wrote:
> > On Linux xlib and xft have utf-16 interfaces.
>
> What exactly are xlib and xft and why does MSE-GUI seemingly use those
> while LCL seemingly uses something else ?
>
xlib is the C-library used under Linux to communicate with the X-server, 
X-server is the graphic and user interface (keyboard, mouse...) engine for a 
common Linux installation. xft is a library for advanced font handling and 
rendering, based on xlib and xrender. xrender is an advanced rendering engine 
extension for the X-server. xft can render antialiased fonts for example.

Lazarus - contrary to fpGUI and MSEgui - does not talk to the X-server 
directly but uses an intermediate layer, the "widgetset". Some of the 
widgetsets have an utf-16 interface, the Lazarus main widgetset (GTK2) has an 
utf-8 interface AFAIK.

Martin



More information about the fpc-devel mailing list