freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] [PATCH 2/2] [cmake] add support for customized ftsystem o


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] [PATCH 2/2] [cmake] add support for customized ftsystem on Windows
Date: Mon, 30 Oct 2017 22:15:35 -0400

> You can not use UTF-8 file names to open file on Windows. You will have
> to use _wfopen to use UTF-16LE, and you *must not* use BOM in this case.

I totally missed the mark.

Now the question is whether this is appropriate for FreeType to deal
with UTF-8 filenames on Windows, which does not itself use UTF-8
filenames, which are, therefore, superfluous. The user should work
with native UTF-16LE filenames on Windows to begin with. Then the use
might as well open the stream with _wfopen by himself and call
FT_Open_Face for the stream. Done.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]