Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Font Size when printing too big.... Post 302085334 by George26 on Wednesday 16th of August 2006 02:13:25 PM
Old 08-16-2006
THANKS! IT WORKED FINE!!

I appreciate your help in this...

Smilie Smilie Smilie Smilie Smilie Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Font size

Hello all I am a new linux user (Redhat 7) and I am trying to learn how to operate the system. I have a couple problems one the font size for all windows withing the OS are too small and even though I found a couple places to configure font size I can't find where to change the font size for the... (2 Replies)
Discussion started by: elhefe
2 Replies

2. Solaris

font size printing

hi all , i was just wondering if i can specify the font size when i am printing from solaris . i am using solaris 9 and hp laserjet 1230 . i dont want to change the global variable for the printer driver . i just want to print a file with small font and the others with normal fonts . ... (1 Reply)
Discussion started by: ppass
1 Replies

3. UNIX for Dummies Questions & Answers

How can I enlarged the font size?

How can I enlarged the font size when I opened the pdf files with ghostscript or ghostview in solaris 8 for sparc. The font is so small that I can't see it!] Help me please! (0 Replies)
Discussion started by: new_hand
0 Replies

4. Shell Programming and Scripting

bash script working for small size files but not for big size files.

Hi, I have one file stat. Stat file contents are as follows: for example. H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000 H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000 Now i... (1 Reply)
Discussion started by: davidpreml
1 Replies

5. UNIX for Dummies Questions & Answers

set font size

can any one tell me how to set the font size in unix? (14 Replies)
Discussion started by: sachin.gangadha
14 Replies

6. UNIX for Dummies Questions & Answers

Font size in VIM

Hello, I use VIM version 7.1.56 on Ubuntu OS. Can you tell me pls how can I change the font-size in VIM? Thanks, Iuli (1 Reply)
Discussion started by: ketchera
1 Replies

7. Shell Programming and Scripting

Font Size

Hi All, Please can someone advise on how to change the font size of the output of a shell script. Best Regards, Shazin (2 Replies)
Discussion started by: Shazin
2 Replies

8. Shell Programming and Scripting

Font Size in shell!

hi all,, is it possible to change the font size of the first line of text? i search it to internet but i have no luk. Ex. Line 1: HI Line 2: back to normal font size. THanks, (4 Replies)
Discussion started by: nikki1200
4 Replies

9. Red Hat

Increase Font size

Hi friends I want increase font size in linux can anybody help me plese Example:this is my in put Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 18G 2.5G 14G 15% / /dev/sda2 ... (1 Reply)
Discussion started by: vasuibm
1 Replies
XDrawText(3X11) 						     MIT X11R4							   XDrawText(3X11)

Name
       XDrawText, XDrawText16, XTextItem, XTextItem16 - draw polytext text and text drawing structures

Syntax
       XDrawText(display, d, gc, x, y, items, nitems)
	  Display *display;
	  Drawable d;
	  GC gc;
	  int x, y;
	  XTextItem *items;
	  int nitems;

       XDrawText16(display, d, gc, x, y, items, nitems)
	  Display *display;
	  Drawable d;
	  GC gc;
	  int x, y;
	  XTextItem16 *items;
	  int nitems;

Arguments
       d	 Specifies the drawable.

       display	 Specifies the connection to the X server.

       gc	 Specifies the GC.

       items	 Specifies a pointer to an array of text items.

       nitems	 Specifies the number of text items in the array.

       x
       y	 Specify the x and y coordinates, which are relative to the origin of the specified drawable and define the origin of the first
		 character.

Description
       The function is similar to except that it uses 2-byte or 16-bit characters.  Both functions allow complex spacing and font shifts between
       counted strings.

       Each text item is processed in turn.  A font member other than in an item causes the font to be stored in the GC and used for subsequent
       text.  A text element delta specifies an additional change in the position along the x axis before the string is drawn.	The delta is
       always added to the character origin and is not dependent on any characteristics of the font.  Each character image, as defined by the font
       in the GC, is treated as an additional mask for a fill operation on the drawable.  The drawable is modified only where the font character
       has a bit set to 1.  If a text item generates a error, the previous text items may have been drawn.

       For fonts defined with linear indexing rather than 2-byte matrix indexing, each structure is interpreted as a 16-bit number with byte1 as
       the most-significant byte.

       Both functions use these GC components: function, plane-mask, fill-style, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-
       mask.  They also use these GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-
       origin.

       and can generate and errors.

Structures
       The and structures contain:

       typedef struct {
	 char *chars;	   /* pointer to string */
	 int nchars;	   /* number of characters */
	 int delta;	   /* delta between strings */
	 Font font;	   /* Font to print it in;
				    None do not change */
       } XTextItem;

       typedef struct {
	 XChar2b *chars;   /* pointer to two-byte characters */
	 int nchars;	   /* number of characters */
	 int delta;	   /* delta between strings */
	 Font font;	   /* font to print it in;
				    None do not change */
       } XTextItem16;

       If the font member is not the font is changed before printing and also is stored in the GC.  If an error was generated during text drawing,
       the previous items may have been drawn.	The baseline of the characters are drawn starting at the x and y coordinates that you pass in the
       text drawing functions.

       For example, consider the background rectangle drawn by If you want the upper-left corner of the background rectangle to be at pixel coor-
       dinate (x,y), pass the (x,y + ascent) as the baseline origin coordinates to the text functions.	The ascent is the font ascent, as given in
       the structure.  If you want the lower-left corner of the background rectangle to be at pixel coordinate (x,y), pass the (x,y - descent + 1)
       as the baseline origin coordinates to the text functions.  The descent is the font descent, as given in the structure.

Diagnostics
       A value for a Drawable argument does not name a defined Window or Pixmap.

       A value for a Font or GContext argument does not name a defined Font.

       A value for a GContext argument does not name a defined GContext.

       An	 window is used as a Drawable.

See Also
       XDrawImageString(3X11), XDrawString(3X11), XLoadFont(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

																   XDrawText(3X11)
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy