home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.beos      Underrated early 90's OS, sad it died...      1,512 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,198 of 1,512   
   Earl Colby Pottinger to All   
   Re: Font Demo   
   13 Nov 05 07:40:35   
   
   From: earlcp@idirect.com   
      
   Edmund  :   
      
   > In Font Demo I can outline all fonts.   
   > Now I wanna use such a font in Gobe or whatever.   
   > Is that possible or is Font Demo just a tool to   
   > show me what I cannot use in any way?   
      
   Hello,   
           While I am a poor C++ programmer I have always found it useful to   
   check the .h files to see what functions are available.   
      
   Go to boot/develop/headers/be/interface/Font.h   
      
   As you srcoll down you will see the available flag.   
      
   At the right point you will see:   
   enum {   
   	B_ITALIC_FACE		= 0x0001,   
   	B_UNDERSCORE_FACE	= 0x0002,   
   	B_NEGATIVE_FACE		= 0x0004,   
   	B_OUTLINED_FACE		= 0x0008,   
   	B_STRIKEOUT_FACE	= 0x0010,   
   	B_BOLD_FACE			= 0x0020,   
   	B_REGULAR_FACE		= 0x0040   
   };   
      
   further down you will see   
      
   		void				SetSize(float size);   
   		void				SetShear(float shear);   
   		void				SetRotation(float rotation);   
   		void				SetSpacing(uint8 spacing);   
   		void				SetEncoding(uint8 encoding);   
   		void				SetFace(uint16 face);   
   		void				SetFlags(uint32 flags);   
      
   I suggest the SetFace function is probably what you need.  Good Luck   
      
              Earl Colby Pottinger   
      
   --   
   I make public email sent to me!  Hydrogen Peroxide Rockets, OpenBeos,   
   SerialTransfer 3.0, RAMDISK, BoatBuilding, DIY TabletPC.  What happened to   
   the time? http://webhome.idirect.com/~earlcp   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca