Re: font selection by character

2007-10-19 Thread Jeremias Maerki
Great, thanks for looking into it! AFAIU, your concept is right. The spec refers to CSS on how to handly the font selection (see [1]). But I also think that's the minimal algorithm. If you have two Symbol characters and a space between, it's probably slightly better-looking to use Symbol's space

Re: font selection by character

2007-07-29 Thread Andreas L Delmelle
On Jul 25, 2007, at 19:48, Manuel Mall wrote: Manuel, Just a little heads-up: I've already made the discussed change to CommonFont locally, but since I had already made a few other alterations to this class and this particular change is only minimal, they will be in the same commit (which

Re: font selection by character

2007-07-25 Thread Andreas L Delmelle
On Jul 25, 2007, at 02:25, Manuel Mall wrote: On Wednesday 25 July 2007 05:17, Andreas L Delmelle wrote: Anyone have any objections, for instance, to change the default behaviour of FontInfo.fontLookup(String[], ...) to something like the below code? Should we add a getFontInstances() method

Re: font selection by character

2007-07-25 Thread Manuel Mall
On Thursday 26 July 2007 00:23, Andreas L Delmelle wrote: On Jul 25, 2007, at 02:25, Manuel Mall wrote: On Wednesday 25 July 2007 05:17, Andreas L Delmelle wrote: Anyone have any objections, for instance, to change the default behaviour of FontInfo.fontLookup(String[], ...) to something

Re: font selection by character

2007-07-24 Thread Andreas L Delmelle
On Jul 21, 2007, at 14:07, Andreas L Delmelle wrote: snip / As to then further addressing the font-family fallback/font- selection issue, ... snip / Change the getFontState() signature: - either make it public Font[] getFontStates() - or add an extra char parameter to getFontState(),

Re: font selection by character

2007-07-24 Thread Manuel Mall
On Wednesday 25 July 2007 05:17, Andreas L Delmelle wrote: On Jul 21, 2007, at 14:07, Andreas L Delmelle wrote: snip / As to then further addressing the font-family fallback/font- selection issue, ... snip / Change the getFontState() signature: - either make it public Font[]

Re: font selection by character

2007-07-21 Thread Andreas L Delmelle
On Jul 20, 2007, at 11:56, Andreas L Delmelle wrote: On Jul 20, 2007, at 08:02, Manuel Mall wrote: On Jul 20, 2007, at 05:47, Manuel Mall wrote: snip/ As to how the TextLM should then further handle it, I hadn't really looked deeper into so far, but it seems like you have... 8-) Andreas,

Re: font selection by character

2007-07-21 Thread Vincent Hennebert
Hi Andreas, My 2 cents on this, as I have a rather limited understanding of this area. Andreas L Delmelle a écrit : snip/ org.apache.fop.fonts.Font contains a fontSize member. I would like to see this separated from the Font instance somehow. Instead of fetching a Font corresponding to given

Re: font selection by character

2007-07-21 Thread Andreas L Delmelle
On Jul 21, 2007, at 19:25, Vincent Hennebert wrote: Andreas L Delmelle a écrit : snip/ org.apache.fop.fonts.Font contains a fontSize member. I would like to see this separated from the Font instance somehow. Instead of fetching a Font corresponding to given triplet and font-size, we would

Re: font selection by character

2007-07-20 Thread Andreas L Delmelle
On Jul 20, 2007, at 08:02, Manuel Mall wrote: On Jul 20, 2007, at 05:47, Manuel Mall wrote: snip/ As to how the TextLM should then further handle it, I hadn't really looked deeper into so far, but it seems like you have... 8-) Andreas, how about this as a way forward: You implement the