gilbertd@silver.ucs.indiana.edu (Don Gilbert) (11/08/90)
I've started using MacApp (it's great, esp. views), which uses 'STYL' resources (TEStyleRec) for its styled text FILE standard, rather than the 'styl' resource (StScrpRec) used for clipboard. Is their any consensus which "standard" is better for exchanging files of type 'TEXT' with style resources? Are there any popular programs out which will read styles in either of these formats? -- Don Don.Gilbert@Iubio.Bio.Indiana.Edu biocomputing office, indiana univ., bloomington, in 47405, usa
oster@well.sf.ca.us (David Phillip Oster) (11/10/90)
ResEdit uses a 'styl' resource with the same id number as the 'TEXT' resource to associate style information with a 'TEXT' resource, so that is what I go with. I also include another, private resource, for use by my program, that is a list of <integer, pascal string of font name> pairs, with padding as necessary to start the integer on an even boundary. I ccreate this by scanning the style runs in the 'styl' resources. This lets me adjust a file when I move it to a different mac that has different numbers for its fonts. Is there any standard for this font name table? -- -- David Phillip Oster - Note new signature. Old one has gone Bye Bye. -- oster@well.sf.ca.us = {backbone}!well!oster