Martin Vermeer wrote:
On Sun, Oct 28, 2007 at 08:05:10PM +0100, Abdelrazak Younes wrote:

Anyway, I think the language and font information should not be in the same class. I don't understand why we are forced to set a font when we only want to set the language for example. What we need is a templated 'Range' class that will work with Fonts and Languages. Basically, the current FontList will be a specialisation of this template:

typedef Range<FontInfo> FontList;

And we need the same thing for languages:

typedef Range<Language> LanguageList;

Ideas, comments?

This sounds great. (I say, leave CT alone for now, but later... perhaps
too.)

Yep, there's some room for code sharing there as you correctly noticed. But as you say, as CT is already treated separately, this can be dealt with later.

Abdel.

Reply via email to