[DoubleType-dev-en] Question about the sourcecode (part 2)
Status: Alpha
Brought to you by:
eed3si9n
|
From: Yannik De V. <Yan...@vu...> - 2005-01-12 09:22:54
|
Hello, Thanks a lot for your help David! I really appreciate it! So, if I understand it correctly, the Relaxer takes a glyph-file and puts i= t into java-code, so the program can work with it? I have just 2 other questions: I don't know much about Truetypes or Openfonts, but is it normal for a glyp= h-file to be in XML? And are truetype fontfiles also standardly in XML? Or = is just for this application that they're in XML? Second question: to make sure: There is a package "adapter", with some clas= ses with the same name as in the xml-package, online with an E instead of a= n X (e.g. XContour becomes EContour). I allready figured out where the E st= ands for (comes from the Emulator, right?), but I'm not sure what it does..= . I'm thinking that part is for the objects (like contour, contourpoint,...= ) where you want to do some special things with, like moving it around, or = such. Is this thought correct, or am I just missing the point? Again, thanks a lot for your help, it's really kind of you to take the time= to help me on this matter. Kind regards, Yannik >Hello Yannick, > >The Relaxer things allow to load an XML file (e.g, a glyph file in=20 >double type) to get a Java object (a Glyph object... don't remember the=20 >class name), and the way back (from a glyph object to a glyph=20 >description in XML) > >In double-type, all the files of the project are XML files, and Relaxer=20 >is used to load/save the files. > >Relaxer use the RelaxNG language to describe the structure of an XML=20 >File. There is another package called "Castor"=20 >(http://castor.exolab.org/) that do the same using XmlSchema. > >Regards >David > > >dou...@li... a =E9crit : >> Send DoubleType-dev-en mailing list submissions to >> =09d...@li... >>=20 >> To subscribe or unsubscribe via the World Wide Web, visit >> =09https://lists.sourceforge.net/lists/listinfo/doubletype-dev-en >> or, via email, send a message with subject or body 'help' to >> =09d...@li... >>=20 >> You can reach the person managing the list at >> =09d...@li... >>=20 >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of DoubleType-dev-en digest..." >>=20 >>=20 >> Today's Topics: >>=20 >> 1. Question Relaxer (Yannik De Valck) >>=20 >> --__--__-- >>=20 >> Message: 1 >> Date: Wed, 12 Jan 2005 00:15:04 +0100 (MET) >> From: Yannik De Valck <Yan...@vu...> >> To: dou...@li... >> Subject: [DoubleType-dev-en] Question Relaxer >>=20 >> Hello, >>=20 >> As you said, I subscribed myself to the mailinglist, this will be a lot = easier to communicate. Thanks a lot for wanting to help me in the first pla= ce! >> As I said, I'm trying to make an application just like yours, and during= a little search on the web, I stumbled across your program. I instantly in= stalled it, and found it to be great! >> So I downloaded the source-code to try to understand you ways of thinkin= g, of getting it all together. I think i kinda understand the most of it, b= ut I can't seem to understand what the Relaxer-part is all about. I can fin= d it's a tool to put XML-code into java-code, and so it generates the whole= xml-package, but i don't understand the meaning of it within the program..= . >> I'm sorry if I'm being stupid and this is obvious :( >> Many thanks in advance, >>=20 >> Kind regards, >>=20 >> Nemesis >>=20 >>=20 >>=20 >>=20 >> --__--__-- >>=20 >> _______________________________________________ >> DoubleType-dev-en mailing list >> Dou...@li... >> https://lists.sourceforge.net/lists/listinfo/doubletype-dev-en >>=20 >>=20 >> End of DoubleType-dev-en Digest >>=20 >>=20 > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >DoubleType-dev-en mailing list >Dou...@li... >https://lists.sourceforge.net/lists/listinfo/doubletype-dev-en > > |