🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #806

Re: Displaying Characters Slantingly

#806
From: chew
Date: Fri, 06 Nov 1992 22:58
17 lines
1282 bytes
>         I was going through the "ifb" program InterViews Font Browse
> r. There it has options for displaying A Font in diffrent point size
> s and different slants like oblique, italic etc.
> 
> What I wanted to know is When the user chooses the option
> from the ifb dialog say to display characters at a point size of 18 
> or a slant which is italic What X calls does InterViews make to 
> set up these paramaters , do that while drawing on the screen
> teh characters appear correctly.

look in fontbrowser.c.   The arrays at  the top specify the parts  of
the specification that can be varied.  FontBroser::UpdateFontname at the
bottom updates the font and shows it.  The program just loads up a new
font each time you change a spec.  it doesn't modify the existing font.

-Chee
Technical Details
Message-ID: <9211062258.AA04807@hplchew.hpl.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!usenet.ins.cwru.edu!agate!stanford.edu!HPLCHEW.HPL.HP.COM!chew
References: <9211062241.AA08795@sparc0.brc.uconn.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!usenet.ins.cwru.edu!agate!stanford.edu!HPLCHEW.HPL.HP.COM!chew
From: chew@HPLCHEW.HPL.HP.COM
Subject: Re: Displaying Characters Slantingly
Message-ID: <9211062258.AA04807@hplchew.hpl.hp.com>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
References: <9211062241.AA08795@sparc0.brc.uconn.edu>
Date: Fri, 6 Nov 1992 22:58:08 GMT
Lines: 17