[fpc-pascal] freetype unit + unicode

David Emerson dle3ab at angelbase.com
Thu Oct 6 09:52:18 CEST 2011

On Thu 6 Oct 2011, michael.vancanneyt at wisa.be wrote:
> On Wed, 5 Oct 2011, David Emerson wrote:
> > On Tue 4 Oct 2011, michael.vancanneyt at wisa.be wrote:
> >> If you need some UTF8 extensions to the freetype unit, feel free to make
> >> some suggestions, and we'll see what we can do.
> >
> > I copied a few UTF8 string functions from the LCLProc unit, so that is kind
> > of sloppy but there it is. I'm not sure if analogs exist within fpc.
> Yes, but the problem with this is that it only works with UTF-8 now.

indeed my inexperience shows (and american mindset!)

> So I would have preferred it if you had created an overloaded or even
> differently named version of the existing functions, and left the existing
> functions intact. The way it is now, we'd force everyone to use UTF-8.
> I'll see if I can modify the patch.
> Michael.

I'd be happy to help in this regard if you want to give me some sort of 
instructions to go by. Now that you bring up the issue, numerous solutions come 
to mind. Of course the task is not that big, but I'm eager to help if it would 
save you any trouble (although tonight it's past my bedtime now...)


More information about the fpc-pascal mailing list