[comp.windows.x] Font Properties

tek@CS.UCLA.EDU (09/01/88)

Some fonts seem to have properties not listed in the table in the Xlib 
manual. By looking at my Xatom.h, I determined two of these "out of
table" properties were XA_COPYRIGHT and XA_FAMILY_NAME. Font
properties are supposed to be just one 32 bit number. 

So what does the value of the font property represent in these cases?
What does it represent in general, when the original BDF font
description gives something other than a single number value to a font
property?





-ted		ARPAnet: tek@penzance.cs.ucla.edu 
		UUCP:    ...!ucbvax!ucla-cs!tek

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (09/01/88)

    Date: 31 Aug 88 17:25:35 GMT
    From: tek@CS.UCLA.EDU

    Some fonts seem to have properties not listed in the table in the Xlib 
    manual.

Right.  There is no requirement that fonts only have "well-known" properties,
the property mechanism is there explicitly to allow an open-ended set.

    By looking at my Xatom.h, I determined two of these "out of
    table" properties were XA_COPYRIGHT and XA_FAMILY_NAME.

Well, "xprop -font <font>" could have given you this alot easier.

    Font properties are supposed to be just one 32 bit number. 

Right, the interpretation of which can vary with the particular property.

    So what does the value of the font property represent in these cases?

It represents an ATOM for a string value.

    What does it represent in general, when the original BDF font
    description gives something other than a single number value to a font
    property?

BDF basically provides for numbers and strings.