Hello List, I have created a way for people to select any font that is located on there system and then (while in a projector) select and embed the font into director.
The way I have done this is to store the font they have selected into a BLOB Field that is in the Valintina Data Base. So, the user selects the font they would like to use so I call: ----- myNewFontMember = new(#font, member 4 of castLib "Font") recordFont(myNewFontMember, itemText ) ----- itemText is the font they have selected And then: ----- SetMedia ( gCursor, "var", member 4 of castlib "font" ) updateRecord(gCursor) ----- var is the BLOB Field in valintina All is good up to here:) Now I try to read the font from the BLOB Field and I receive a error or crash ( memory related I think )from calling this: ---- GetMedia ( gCursor, "Var", member 2 ) ---- Read Font Data into member 2 so that it is know an embedded Font for director to use. Anyone know why I'm getting the error/crash? Thank you, Mattie, [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
