[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

2395.0. "Internal Demo Development Team Looking for Larger DECW Fonts " by PHONE::AYRE () Tue Mar 06 1990 01:01

I am heading up a demo development that is using DECwindows...  I am writing
this is C using plain vanilla X windows calls.  The question is, "where do I
get bigger fonts?"  The largest font is 24 point.  I need something bigger. 
Are there calls to scale the fonts to a larger size?  Are there larger fonts
available?  I am doing the display with XDrawImageString calls, but I'm flexible
if I can get bigger text.

Please CC any replys to PHONE::AYRE as I don't have a lot of time to read notes.

Thanks in advance for any help.

Toby Ayre
T.RTitleUserPersonal
Name
DateLines
2395.1FEGPX::SWEENEYPatrick Sweeney in Hong KongTue Mar 06 1990 07:2611
    Large fonts are another interest of mine.  Large fonts can come from
    at least three places:
    
    (1) Using unsupported tools (qv the EXAMPLES conference), create new
    BDF/XLFD files, compile them, etc. use them
    
    (2) Using supported XDPS (display PostScript), which if I had the time,
    I'd love to try myself
    
    (3) Look at the MIT X11 R4 distribution for some unsupported BDF files. 
    I've loaded R3 and if I were in New York, I'd load R4.
2395.2Bigger fonts are not easySTAR::VATNEPeter Vatne, VMS DevelopmentTue Mar 06 1990 13:2211
There are no X calls to scale fonts to a larger size, and the largest font size
available with DECwindows is 24 point.  The MIT X11 R4 distribution contains
new font files, but none of them are bigger than 24 point, either.

Display PostScript would be the easiest way to get bigger fonts, but that
doesn't meet your requirements of "plain vanilla X windows calls".  You
could make your own font files as Patrick Sweeney suggests, but then your
demo would only work with systems that have your fonts installed.

My question to you is, is the C program that you are writing the demo itself,
or does the C program demo something that needs large characters? 
2395.3DECwrite ... ?VOGON::DRUMGOOLEThird Party Applications GroupTue Mar 06 1990 13:345
DECwrite seems to supply some fairly large fonts. Maybe you could use the 
fonts from that kit. Check out queen::decwrite for more info.

Joe.
2395.4DAVIS::peterTue Mar 06 1990 15:384
DECwrite only uses the standard DECwindows fonts.  For point sizes
larger than 24, DECwrite scales the font bitmaps using image services routines.

Future versions of DECwrite may possibly use Display PostScript.
2395.5careful with your use of DPSSMURF::HOFFMANanywhere in the universeWed Mar 07 1990 13:3021
There are legal restrictions on the use of Display PostScript
for creating fonts or bitmap images.  However, I have not yet obtained 
a clear explanation of exactly what the restrictions mean or what problems 
are being solved.

As an engineer without legal training, I will not attempt to interpret 
the words.  Instead, I would encourage people to ascertain what the rules
are and how they apply.  In ULTRIXland, Dave Pushee is the contact.

Here's an instance (from the UWS V2.2 and V4.0 SPD):

7. The software licensed hereunder is restricted to use to generate
   screen displays on a single Licensed System having a screen resolution of 
   less than 150 dots/per/inch.  Licensee agrees not to make use of the 
   software, directly or indirectly, to print bitmap images with print 
   resolutions of 150 dots/per/inch or greater, or to generate Fonts or 
   Typefaces for use other than with the Licensed System.  Any failure of 
   Licensee to comply with this provision is a material breach of this End 
   User Agreement.

John
2395.6Don't Panic!DECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Wed Mar 07 1990 17:5124
    Jeez, John, we don't need to discourage people from using DPS!
    
    As one who was in on the negotiations (but also not a lawyer), I know
    that the intent of the clause is that you are not allowed try to use
    DPS to steal the fonts for use on a laser-printer.  For example, if
    you generated all the characters of NewCenturySchoolbook (for example)
    on a 100DPI screen at 40 point, and then grabbed the bits, stuck them
    into a library, and used them to convert Ascii text into bitmaps for
    printing on a 400DPI el-cheapo laser printer, that would be breaking
    the intent of the contract.
    
    If you do a print screen of a DECwrite-using-DPS page and happen to
    print it on a 400 DPI printer, that is in accordnace with the intent
    of the contract.
    
    The problem being solved is that the font designers give Adobe (and
    thru them, us) the fonts for cheaper on DPS than on a high-quality
    laser printer, because they are that much less functional.  If someone
    buys DPS and an El-Cheapo 1-font laser printer to avoid paying the
    royalty for good laser-printer fonts, the font designers loose revenue.
    That is what they are trying to prevent.
    
    Burns
    
2395.7now it's much clearerSMURF::HOFFMANanywhere in the universeFri Mar 09 1990 10:299
re .6

Thanks for the clarification Burns.  I had asked a number of people
about this without getting much insight.  For some reason, the words
in the restriction seemed to imply that it was illegal to use 
printscreen for any DPS-created image on any of our supported 
laser printers (all of which happen to exceed 150 dpi of print resolution.)

John