Re: Checkstyle RedundantThrowsCheck

2009-09-29 Thread Vincent Hennebert
Hi Max, Max Berger wrote: > Vincent, > > > 2009/9/29 Vincent Hennebert: >> I started to write my own checkstyle configuration from scratch some >> time ago, enabling everything that looked important to me. But I’d like >> to test it a bit more before submitting it. > > Same here. See the checks

[PDF] Entries in number tree not specified as indirect references

2009-09-29 Thread Vincent Hennebert
Hi, The StructTreeRoot dictionary must have a ParentTree entry whose type is a number tree. As explained in Section 3.8.5, “Number Trees” of the PDF Reference, Third Edition, the Nums entry of a number tree node must be an array of key-value pairs where value is an indirect reference to the object

RE: Questionable whether font-shorthand grammar LL(1)

2009-09-29 Thread Jonathan Levinson
Hi Vincent, Excellent ideas! The diagram you drew is extremely useful! If the font shorthand sub-language has a grammar that is regular then it also has a grammar that is LL(1). So recursive descent parsing will work, if there is a regular grammar. I think the best way of getting font shor

RE: Questionable whether font-shorthand grammar LL(1)

2009-09-29 Thread Laurent Caillette
Max __ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4466 (20090929) __ Le message a été vérifié par ESET NOD32 Antivirus. http://www.eset.com

Re: Checkstyle RedundantThrowsCheck

2009-09-29 Thread Max Berger
Vincent, 2009/9/29 Vincent Hennebert : > I started to write my own checkstyle configuration from scratch some > time ago, enabling everything that looked important to me. But I’d like > to test it a bit more before submitting it. Same here. See the checkstyle file for JEuclid as an example. htt

Re: Checkstyle RedundantThrowsCheck

2009-09-29 Thread Vincent Hennebert
Hi Max, Max Berger wrote: > Alex, > > The checkstyle checks are historically grown, and are therefore > incomplete. I personally would turn on much more checks for certain > style issues I like. IMO every option set helps deciding a certain > factor. So more the more checks the better :) If you

Re: Questionable whether font-shorthand grammar LL(1)

2009-09-29 Thread Max Berger
Hi Vincent, 2009/9/29 Vincent Hennebert : >> How about specifing the grammer and using a tool such as JavaCC to >> generate the actual parser? This way you could focus more complete >> grammer and have to spend less time writing the parser. > That would be the same as using ANTLR. I feel that thi

Re: Best Interface for reading OpenType Files

2009-09-29 Thread Vincent Hennebert
Hi Alexander, Alexander Kiel wrote: > Hi Vincent, > Here are my two cents: if you make use of classes in javax.imagio at only one place in your font library, then there’s no need to worry about creating a more neutral layer. If OTOH you need to use those classes everywhere, th

Re: Questionable whether font-shorthand grammar LL(1)

2009-09-29 Thread Vincent Hennebert
Hi Max, Max Berger wrote: > Hi *, > > I just want to throw in a different idea (you may ignore it if you like): > > How about specifing the grammer and using a tool such as JavaCC to > generate the actual parser? This way you could focus more complete > grammer and have to spend less time writin

Re: Questionable whether font-shorthand grammar LL(1)

2009-09-29 Thread Max Berger
Hi *, I just want to throw in a different idea (you may ignore it if you like): How about specifing the grammer and using a tool such as JavaCC to generate the actual parser? This way you could focus more complete grammer and have to spend less time writing the parser. JavaCC is BSD license, so