[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

2332.0. "Where is the FULL font name ?" by HANDVC::ANGIEYIM (YIM Yuen-fan, Angie, Hong Kong) Thu Feb 22 1990 04:18

Is there any way to retrieve the "full" font file name, such as

	-HIDECW-Screen-Medium-R-Normal--24-240-75-75-M-120-ISO8859-1

out of the XFontStruct of a font ?7

I have tried XGetFontProperty, passing atoms XA_*_NAME, but it 
returns me only the "partial" font name, say,

	XA_FULL_NAME 	 	Screen-ISO8859-1


Regards,
Angie

T.RTitleUserPersonal
Name
DateLines
2332.1FEGPX::SWEENEYPatrick Sweeney in Hong KongThu Feb 22 1990 05:249
    The full font name is returned by XListFonts and you don't have to play
    with the properties, although the properties have the full name
    
    See note 42/44 in DW_EXAMPLES
    
    By the way, I'm in Hong Kong so you can meet with me in person and
    discuss anything you want regarding DECwindows.
    
    Pat Sweeney
2332.2Some more hints ??HANDVC::ANGIEYIMYIM Yuen-fan, Angie, Hong KongThu Feb 22 1990 20:3211
    Thank you for your reply !
    
    In fact, I know about the List Font Utility, however, for some reason,
    I have to PLAY with the font properties.  
    
    >although the properties have the full name
    
    Would appreciate if you would guide through the way.
    
    
    - Angie