02-01-2009
I believe mozilla uses the freetype library in most cases... But no program is obliged to draw text in exactly the way you want. Even if you manage to intercept the text-drawing libraries of each and every program on your system you may find that it doesn't draw text in the right order to make sense when captured, or might render individual glyphs only once then draw the rest just by placing bitmaps, etc. Graphics is not console and will not behave like one.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am an Oracle DBA who has previously worked only on NT machines. I need to install Oracle on an AIX box. This Unix server has only a CRT monitor. The Oracle installation REQUIRES a graphical means of seeing the Unix machine. I've been told that I should telnet from a PC that can display X... (2 Replies)
Discussion started by: jbrax
2 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I have some UNIX servers (all flavor to be honest: SOLARIS, AIX, HP-UX) running some applications.
I would like to publish these applications to remote client mainly running Windows XP.
I know i can remotely access the desktop thanks to Cygwin,Hummingbird EXCEED...
But I don't... (2 Replies)
Discussion started by: Platinium
2 Replies
3. Shell Programming and Scripting
i have to write a script that which would send mails
For all the transient apps
1. How many apps are running
2. Since when is the app running
plz help me in this...............
plz help me, its urgent,.................
plzzzzzzzzzzzzzzzzzzzzzzzzzzz (2 Replies)
Discussion started by: ali560045
2 Replies
4. UNIX for Advanced & Expert Users
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies
5. Shell Programming and Scripting
Hi,
I am developing a script that invokes a program, and that program is going to prompt for some input every now and then based on some parameters.
My script shall provide input to the program, automatically, by processing the text output by the program..
say..
when the program asks ... (3 Replies)
Discussion started by: icecoldaswin
3 Replies
6. Linux
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies
7. Shell Programming and Scripting
Hi,
I wanted to know how i could accomplish this in a script using ksh.
Lets say there is a file called test.dat and it has a certain input like below :
.
.
Hi = 56
Hi = 67
.
.
1 record(s) selected
Now i need to capture the numbers after the = sign and store them in a... (3 Replies)
Discussion started by: Siddarth
3 Replies
8. Shell Programming and Scripting
Hi Experts,
Can anyone suggest me kindly, whether designing some small GUI applications are possible in shell scripting.....
Like a small calculator kind of stuff.......
I fit is possible guide me with some examples.
Thanks,
Newbie....... (0 Replies)
Discussion started by: kritibalu
0 Replies
9. UNIX for Beginners Questions & Answers
So, I wanted to see if I could just use X without a desktop. I installed Debian from a netinstall on a vm and installed xorg with apt. Logged in as a normal user with startx and had a big black background. Seemed like everything was working as expected, so I went to configure tint2 at start up. I... (3 Replies)
Discussion started by: Azrael
3 Replies
LEARN ABOUT HPUX
xwcdrawtext
XwcDrawText() XwcDrawText()
Name
XwcDrawText - draw internationalized wide-character text using multiple font sets.
Synopsis
void XwcDrawText(display, drawable, gc, x, y, items, nitems)
Display *display;
Drawable drawable;
GC gc;
int x, y;
XwcTextItem *items;
int nitems;
Arguments
display Specifies the connection to the X server.
drawable Specifies the drawable.
gc Specifies the graphics context.
x, y Specifies the starting position and baseline of the text, relative to the origin of the specified drawable.
items Specifies an array of text items.
nitems Specifies the number of text items in the array.
Availability
Release 5 and later.
Description
XwcDrawText() allows complex spacing and font set shifts between wide-character text strings. Each text item is processed in turn, with
the origin of a text element advanced in the primary draw direction by the escapement of the previous text item. A text item delta speci-
fies an additional escapement of the text item drawing origin in the primary draw direction. A font_set member other than None in an item
causes the font set to be used for this and subsequent text items in the items list. Leading text items with font_set member set to None
will not be drawn.
XwcDrawText() does not perform any context-dependent rendering between text segments. Clients may compute the drawing metrics by passing
each text segment to XwcTextExtents() or XmbTextPerCharExtents(). When the XFontSet has missing charsets, each unavailable character is
drawn with the default string returned by XCreateFontSet(). The behavior for an invalid codepoint is undefined.
XwcDrawText() draws with fonts from the font sets of the items list rather than the font of the GC. For this reason, it may modify the
font value of the GC. Except for the font, it uses the same GC components as its pre-X11R5 analog XDrawText().
Structures
The XwcTextItem structure contains:
typedef struct {
wchar_t *chars; /* pointer to wide char string */
int nchars; /* number of wide characters */
int delta; /* pixel delta between strings */
XFontSet font_set; /* fonts, None means don't change */
} XwcTextItem;
See Also
XDrawImageString(), XDrawString(), XDrawText(), XwcDrawImageString(), XwcDrawString(), XmbDrawText().
Xlib - Internationalized Text Output XwcDrawText()