Re: Re: Re: Implementing OpenType font support, how hard?

2006-09-11 Thread Bertrand Delacretaz
On 8/4/06, Bertrand Delacretaz [EMAIL PROTECTED] wrote: ...I'll discuss the plan with my project's stakeholders and hopefully get the green light to invest time in this... Good news, I got the green light and will be working on these OpenType improvements in the next few weeks. I'll use the

Re: Re: Implementing OpenType font support, how hard?

2006-08-04 Thread Bertrand Delacretaz
On 8/3/06, Jeremias Maerki [EMAIL PROTECTED] wrote: ...Sorry, I haven't been clear. Adam obviously grabbed a class [1] from Victor's FOray, adapted it to FOP and put a different license header on top. So, it's not that simple. As a first point, we'll need a license grant from Victor for this

Re: Implementing OpenType font support, how hard?

2006-08-03 Thread Simon Pepping
On Wed, Aug 02, 2006 at 06:44:28PM +0200, Vincent Hennebert wrote: 3) Additional steps for OpenType GSUB table support The goal is to enable the smart font features of OpenType, automatic ligatures as mentioned above, language-dependent glyph substitutions (different shapes if a letter is

Re: Implementing OpenType font support, how hard?

2006-08-03 Thread Manuel Mall
On Thursday 03 August 2006 21:04, Simon Pepping wrote: On Wed, Aug 02, 2006 at 06:44:28PM +0200, Vincent Hennebert wrote: snip/ 3b) Modify the chars-to-metrics mapping to handle things like automatic ligatures, where several chars map to a single glyph Here I think you can profit

Re: Implementing OpenType font support, how hard?

2006-08-03 Thread Jeremias Maerki
On 03.08.2006 15:04:40 Simon Pepping wrote: snip/ Aren't DejaVu fonts only TrueType fonts? I think so, but they still have tables for some of the features Bertrand is investigating to implement. Have a look at the STIX fonts, http://www.stixfonts.org/swdev_geninfo.html. I believe they will

Re: Re: Implementing OpenType font support, how hard?

2006-08-03 Thread Bertrand Delacretaz
Hi, and thanks everybody for your replies. On 8/2/06, Jeremias Maerki [EMAIL PROTECTED] wrote: ...No, I've been able to restore kerning support. If there's still some commented code I should probably remove it now. Can you give me a pointer?... You're right, kerning works for builtin fonts

Re: Re: Implementing OpenType font support, how hard?

2006-08-03 Thread Bertrand Delacretaz
On 8/3/06, Manuel Mall [EMAIL PROTECTED] wrote: On Thursday 03 August 2006 21:04, Simon Pepping wrote: ... The main problem with all these smart font features is that you cannot implement them in rendering without also implementing them in the linebreaking code ...That comment does

Re: Implementing OpenType font support, how hard?

2006-08-03 Thread Jeremias Maerki
On 03.08.2006 17:40:36 Bertrand Delacretaz wrote: Hi, and thanks everybody for your replies. On 8/2/06, Jeremias Maerki [EMAIL PROTECTED] wrote: ...No, I've been able to restore kerning support. If there's still some commented code I should probably remove it now. Can you give me a

Re: Re: Implementing OpenType font support, how hard?

2006-08-03 Thread Simon Pepping
On Thu, Aug 03, 2006 at 05:40:36PM +0200, Bertrand Delacretaz wrote: At this point, my plan, for a first phase, would be -Integrate Adam Strzelecki's patch to support extended character sets cleanly -Check that OpenType fonts with TrueType outlines are usable as custom fonts, including

Re: Implementing OpenType font support, how hard?

2006-08-03 Thread J.Pietschmann
Bertrand Delacretaz wrote: Doesn't kerning cause the same problem as smart font features (like automatic ligatures)? It also causes the total width of a group of character to change when the group is split between two lines. AFAICT kerning rarely applies to character pairs which may be subject

Re: Implementing OpenType font support, how hard?

2006-08-02 Thread Jeremias Maerki
Salut Bertrand, good to see you on this list again. On 02.08.2006 16:33:59 Bertrand Delacretaz wrote: Hi FOP team, (sorry about the long message, but there's quite a lot of stuff to explain) I *might* have a need and budget to improve the support of OpenType fonts in FOP in the next few

Re: Re: Implementing OpenType font support, how hard?

2006-08-02 Thread Bertrand Delacretaz
Hoi Jeremias, I'll reply on the other points tomorrow, but for now: ...AFAIK, OpenType allows different variants of a font in one font file (ex. normal and bold). We've had requests to support those font files. Have you found out during your investigations what would be involved in supporting

Re: Implementing OpenType font support, how hard?

2006-08-02 Thread Vincent Hennebert
Hi Bertrand, As I've made some work in this area, I can provide a few additional hints. In fact I'm kind of a bridge between FOray and Fop and am working on adapting FOrayFont to Fop. Currently I'm not doing much because I'm busy with some other work on Fop for the Google Summer of Code, but I