[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
|
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
259.0. "ImageText Background Rect Question" by RAINBO::SLICK () Tue Feb 21 1989 09:55
I have a question about ImageText background rects. I asked first in RDVAX::X
(575.*) but it seems more appropriate to ask here now. The bounds of the
background rect painted by ImageText are specifed as y-fontAscent to
y+fontDescent where the ascent and descent values are the 'natural' or
'line spacing' values of the font, NOT the maximum of over all glyphs in the
font. The font -adobe-courier-medium-r-normal--*-120-* has a spacing ascent
of 10 but a max ascent of 11, for example.
The question is which ascent value do DECwindows servers use? They seem
to use the max ascent value. Is this wrong? Some DECwindows apps seem
to depend on this behavior, are they wrong too? decw$mail uses the mentioned
courier font and highlights selections with ImageText white foreground, black
background. The lines are spaced using the max ascent value and background
rect uses the same value resulting in solid black highlighting. Assuming
the server is incorrect, then if it was correct there would be ugly white
space between the highlighted text lines in decw$mail.
Why do I care? I'm working on a server that uses the spacing ascent, not the
max ascent and I get the ugly white space between the highlighted text lines.
I want to know who is correct and who is at fault.
T.R | Title | User | Personal Name | Date | Lines |
---|
259.1 | GPX uses ascent plus decent | STAR::BMATTHEWS | | Tue Feb 21 1989 16:23 | 5 |
| I answered in the other conference. I am the developer of the GPX text
code for VAX(VMS and Ultrix). I use the font ascent and decent as per
the X11 protocol.
Bill
|
259.2 | Maybe the rectangle fill is in error? | STAR::BMATTHEWS | | Tue Feb 21 1989 16:24 | 2 |
| Perhaps your fill rectangle is not filling the last scan line? - Bill
|