[ft-devel] FreeType 2.4.9 has been released

2012-03-08 Thread Werner LEMBERG
FreeType 2.4.9 has been released. It is available from http://savannah.nongnu.org/download/freetype/ (please read the footnote on this page!) or http://sourceforge.net/projects/freetype/files/ The latter site also holds older versions of the FreeType library. See below for the

Re: [ft-devel] FreeType 2.4.9 has been released

2012-03-09 Thread Werner LEMBERG
I don't see the tag for VER-2-4-9...or am I misunderstanding? Oops! Just pushed :-) Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-03-12 Thread Werner LEMBERG
You must not use ftview to test whether glyphs are correctly joined! This programs inserts an additional pixel horizontally between each glyph. For simple stuff, use ftstring. Unfortunately, it doesn't support embolding... Patches welcomed :-) Werner

Re: [ft-devel] Auto Embolding of Lohit Devanagari

2012-03-12 Thread Werner LEMBERG
With patch it is better now, see the attached image. You must not use ftview to test whether glyphs are correctly joined! This programs inserts an additional pixel horizontally between each glyph. For simple stuff, use ftstring. For complex shaping, you need a demo program from, say,

Re: [ft-devel] Consent confirmation for Freetype 2.4.5.

2012-03-13 Thread Werner LEMBERG
We are considering using your program “Freetype 2.4.5” in our products. Please use the latest release of the FreeType library, 2.4.9, which contains many security fixes. You are the author and owner of the copyrights in the program. You have distributed the program under the attached

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Werner LEMBERG
Then I would prefer if (code == 0) break; Works for me. See attached. I was quicker :-) Please resend your patch relative to the current git. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] Patch to allow '\0' in sfnt name table entries

2012-03-14 Thread Werner LEMBERG
I was quicker :-) Please resend your patch relative to the current git. Here you go. Applied, thanks. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] [patch] remove synonymous macro isdigok

2012-03-22 Thread Werner LEMBERG
Two macros 'sbitset' and 'isdigok' in bdflib.c has recently become synonymous. Good catch! Thanks for the patch, I've just applied it to the git repository. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] FT_USE_MODULE proper usage?

2012-03-26 Thread Werner LEMBERG
I want to provide a simple header that users of the amalgamated version of FreeType can edit to turn modules on and off. For example, my own application doesn't require anything other than TrueType font loading, outline extraction, and hinting (no renderers or other formats needed). I'm

Re: [ft-devel] [patch] emboldening rework v1

2012-03-30 Thread Werner LEMBERG
A testable version of the patch is attached. At the end I decided to introduce a new interface FT_Outline_EmboldenXY. Comments? From a quick glance, this looks like a good solution, thanks! I will have to test and check this more thoroughly, and this will take time I fear since I'm quite busy

Re: [ft-devel] Issues due to commit Fix metrics on size request for scalable fonts.

2012-04-03 Thread Werner LEMBERG
We had report of regression in GTK markups rendering in Ubuntu precise, (i.e ulabel/u would render underlined), [...] We have reverted that commit in Ubuntu for now to workaround the issue but I would like to know how to determine if that's a bug in freetype or if other part of the stack

Re: [ft-devel] Issues due to commit Fix metrics on size request for scalable fonts.

2012-04-03 Thread Werner LEMBERG
Yes. This is what the TrueType standard mandates for bi-level and grey-level glyphs. Note that ClearType is *not* implemented in FreeType yet! As soon as this happens, the situation changes. BTW, section 3.3.2 in the document below gives a nice description of fractional advance widths and

Re: [ft-devel] Issues due to commit Fix metrics on size request for scalable fonts.

2012-04-04 Thread Werner LEMBERG
I agree that my statement is hypothetical -- as was Werner's assertion that What FreeType now returns is what the font designer has had in mind while designing the font. My assertion is not hypothetical! As the goal of FreeType is to be fully compatible with the MS rasterizer, unexpected

Re: [ft-devel] [patch] emboldening rework v1

2012-04-10 Thread Werner LEMBERG
As a way of ping, I going to throw in a much simpler FT_Outline_Get_Orientation patch. So the whole collection of three patches now looks like the attached. Comments, suggestions? Thanks a lot for your work! Everything looks very promising, however, I don't have time currently to do a deep

Re: [ft-devel] ttfautohint - latest source build error OSX

2012-04-11 Thread Werner LEMBERG
Pulled latest source today and built as usual but install fails with following error; [...] install: ./ttfautohint.html: No such file or directory There is a new dependency for building from git: You need pandoc. http://code.google.com/p/pandoc/downloads/list Note that the new

Re: [ft-devel] Wavelet rasterization

2012-04-11 Thread Werner LEMBERG
I've stumbled upon this paper that claim wavelet rasterization may give better cell coverage (than freetype): This is a nice paper, thanks for the link. However, it says that wavelet rasterization can't compete with specialized rasterizers like FreeType w.r.t. speed. Additionally, the cell

Re: [ft-devel] ttfautohint - latest source build error OSX

2012-04-11 Thread Werner LEMBERG
I support the use of pandoc. Yeah, it's very nice. It took me some days to evaluate the various documentation systems: My first thought was to use doxygen, but this format is not really suited for standalone documentation like a user guide $(Q#|(B maybe it is, but I haven't found an easy

Re: [ft-devel] trying to install

2012-04-12 Thread Werner LEMBERG
cd builds/unix; ./configure /bin/sh: ./configure: Permission denied Looks like incorrect file permissions. The file `builds/unix/configure' must be executable. Try chmod 755 builds/unix/configure Werner ___ Freetype-devel mailing list

Re: [ft-devel] Regression issue - CFF

2012-04-16 Thread Werner LEMBERG
Just I've checked Adobe Reader 5.0 on Mac OS X 10.3, it displays the text (as attached picture). Should I ask Adobe experts about if this is a regression, or, appropriate behaviour to prevent some vulnerability issue? Yes, please do so. Maybe there is some kind of heuristic added to the

Re: [ft-devel] FreeType Amalgamation UPDATED!

2012-04-16 Thread Werner LEMBERG
I've updated the amalgamated version of FreeType, [...] Anything which I should take care of? Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] [patch] emboldening rework v1

2012-04-18 Thread Werner LEMBERG
Alexei, thanks for working on this; I fear I won't have more time in the near future to give more thoughts to the problem. Just a minor remark: FT_ORIENTATION_NONE is supposed to mean CANNOT BE DETERMINED, which is easier said than done. Any contour has a well defined orientation as a sign

Re: [ft-devel] On contour directions and fill rules

2012-04-19 Thread Werner LEMBERG
A small remark: - No self-intersection. Now, when one says self-intersecting, one has to qualify. I was under the impression that assuming outlines are not self-intersecting was a safe assumption. However, I'm convinced now that this is absolutely false assumption. Yep. I'd say

Re: [ft-devel] On contour directions and fill rules

2012-04-19 Thread Werner LEMBERG
It competes with freetype-gl really. It's a GPU rasterizer. The main different with freetype-gl is that I don't do any sampling, so the glyphs are truly infinitely zoomable. Nice! No time to look at it more closely, but I've recently skimmed over a paper which uses wavelet transformation

Re: [ft-devel] ttfautohint / Oxygen / infinality

2012-04-21 Thread Werner LEMBERG
Today I tested out the TT-instructed Oxygen font from the KDE repo with my TT subpixel hinting patches. This is the result: http://www.infinality.net/files/oxygen-infinality-problems.png This looks like Oxygen has been hinted with an older version of ttfautohint which was buggy... Current

Re: [ft-devel] ttfautohint / Oxygen / infinality

2012-04-21 Thread Werner LEMBERG
First though i think we should check that the issue is not with a particular buggy build of Oxygen; FYI: Recent versions of ttfautohint add version information and calling parameters to the `name' table; older ones don't. Werner ___

Re: [ft-devel] ttfautohint / Oxygen / infinality

2012-04-21 Thread Werner LEMBERG
I 've sent Erik ttfautohint 0.8 versions of Oxygen to confirm the problem. Thanks! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] ttfautohint / Oxygen / infinality

2012-04-21 Thread Werner LEMBERG
Erik, thanks for your analysis. (The main difference between #2 and #3 is that #3 snaps horizontal stems to pixel boundaries, which normal Freetype slight hinting does not do. I personally prefer the stems to be snapped to integer pixels like this. It looks less dirty to me, however

Re: [ft-devel] ttfautohint / Oxygen / infinality

2012-04-21 Thread Werner LEMBERG
Ok, so i've tested this with a infinality patched freetype 2.4.9 w Kubuntu. [...] Obviously a bug w.r.t. Erik's implementation of ClearType's compatibility mode. I've contacted Greg Hitchcock, asking for clarification. Werner ___

Re: [ft-devel] ttfautohint / Oxygen / infinality

2012-04-22 Thread Werner LEMBERG
Not sure i understand 100%, but isn't it significant that the infinality patched freetype only renders ttfautohinted fonts in this way? An infinality patched freetype (bug or not) renders other instructed truetype fonts perfectly normally afaik. Well, Erik tries to implement Greg's ClearType

Re: [ft-devel] On contour directions and fill rules

2012-04-23 Thread Werner LEMBERG
Essentially, it's a generic SDF rasterizer, like freetype-gl is, but instead of using a 2D sample to represent the SDF, we use circular-arc splines. Aah, some time ago I was also interested into this topic (but for completely different reasons); I've searched the internet and found some very

[ft-devel] libfreetype.la issues (was: ttfautohint: use native freetype on Mac OS X)

2012-04-26 Thread Werner LEMBERG
There's a build error on Mac OS X (10.7) w/ ttfautohint version 0.8: for some reason, the `--libtool` argument to freetype-config gives a path to a nonexistent library. I do think the right argument is `--libs`. Please find attached patch. Thanks. I'm not exactly sure whether this is a

Re: [ft-devel] ttfautohint configure --with-freetype-config is broken

2012-05-05 Thread Werner LEMBERG
Commit 6076a72 seems to have broken ttfautohint's `configure --with-freetype-config`, attached a little patch to restore it. Applied, thanks! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] Fwd: VEGESIGNES

2012-05-07 Thread Werner LEMBERG
Sorry I don't know how to make computing on the terminal iMac (OS Lion). You should look up in the Mac OS X documentation how to open a terminal and how to work in it. I am building a Font with FontForge and there is missing instructions table in it. I don't understand this. If you design

Re: [ft-devel] (no subject)

2012-05-08 Thread Werner LEMBERG
The way I try to read the buffer is by copying the bytes starting at the memory location of the buffer ranging until glyph.bitmap.width * glyph.bitmap.rows. I suspect alignment problems. Please have a look at the documentation of FT_Bitmap and read the details of the `pitch' field. For

Re: [ft-devel] subscribe

2012-05-09 Thread Werner LEMBERG
In summary, please try ./configure --host=x86_64-w64-mingw32 --build=i686-pc-cygwin --with-zlib --prefix=/cygdrive/c/Library/base CPPFLAGS=-I../../base/include LDFLAGS=-L../../base/lib (the difference is --build=xxx) Toshiya-san, do you think it makes sense to add a

Re: [ft-devel] libfreetype.la issues

2012-05-21 Thread Werner LEMBERG
There's a build error on Mac OS X (10.7) w/ ttfautohint version 0.8: for some reason, the `--libtool` argument to freetype-config gives a path to a nonexistent library. I do think the right argument is `--libs`. Please find attached patch. [...] I can imagine to modify the

Re: [ft-devel] [patch] emboldening rework v1

2012-05-28 Thread Werner LEMBERG
As a way of ping, I going to throw in a much simpler FT_Outline_Get_Orientation patch. So the whole collection of three patches now looks like the attached. Comments, suggestions? I've applied all three patches. Sorry for the large delay. Please test. Werner

[ft-devel] display broken

2012-05-30 Thread Werner LEMBERG
Folks an hour ago my computer screen backlight has died. :-( It will take a few days until a replacement screen arrives, delaying most of my computer activities. Fortunately, I've found a company which still offers a 1680x1050 display for my old Dell. It's depressing to see that there are no

Re: [ft-devel] display broken

2012-05-30 Thread Werner LEMBERG
an hour ago my computer screen backlight has died. :-( It will take a few days until a replacement screen arrives, delaying most of my computer activities. ** Very bad news... Blacklight desktop or laptop? A laptop backlight. Well, I've read that that Apple is going to sell iBooks with

Re: [ft-devel] display broken

2012-05-30 Thread Werner LEMBERG
With DPI = 326 on IPhone 4S and DPI = 264 on IPad, would you agree that hinting and subpixel rendering becomes less critical, whereas the speed of the rasterizer needs to be revisited? This sounds sensible. Speed is always good, so if you want to work on that, please do so! Whether this is

Re: [ft-devel] TTfautohint issues with small counters

2012-05-31 Thread Werner LEMBERG
e.g. when the gap between dot and stem in 'i' gets blocked, it's bad font design and can easilly be corrected ;) . Well, I will try to find a generic solution. Maybe because the latin module of TTFAH treats i (and j) using the blue zone of small letter likef (fijbdkhl), when the design

Re: [ft-devel] TTfautohint issues with small counters

2012-05-31 Thread Werner LEMBERG
Applied patch and used the -x argument and that resolved the issue :) Great! Does it make sense to add the option (for bold fonts) to vary the ppem at which the x-height can be increased? Or should the default simply be 20ppem for all fonts? I vote for a different solution (and Erik

Re: [ft-devel] Test suite or something like this

2012-06-03 Thread Werner LEMBERG
Is there any test suite, or test code, or anything else that might be executed after the code is changed and ensure that the code still works as before? Unfortunately, no. I normally use ftview on a bunch of normal and weird fonts for testing, manually inspecting the results. Werner

[ft-devel] TTFautohint: Option --increase-x-height has an argument

2012-06-04 Thread Werner LEMBERG
From the NEWS file: * Option `--increase-x-height' now has a mandatory argument (in the range 6-20 or value 0 to disable it, default value is 14). Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] Seams with disjoint composite

2012-06-04 Thread Werner LEMBERG
I was playing with Unicode box characters, and noticed that DejaVu Sans creates the glyph for ▟ out of three quadrant boxes. At different sizes I can see very noticeable seams where the sub-glyphs meet. I thought FreeType would handle these cases better, but seems like I'm wrong. Any

Re: [ft-devel] Test suite or something like this

2012-06-05 Thread Werner LEMBERG
I understand that maybe I am asking too much but even list of font names will help. Maybe you could share the list? For testing crashes and the like you might look up the FreeType bug reports, which usually contain snippets also. Attached you can find the output from (for i in *; do

Re: [ft-devel] Artefacts when rendering with FreeType 2.4.9

2012-06-06 Thread Werner LEMBERG
The only potential change in question is this: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=7baeeafcec7fd2267191937e14c1f753424beb89 Your guess was not wrong! This morning I repeated the tests, I had conducted yesterday. I had been in a hurry and obviously mixed

Re: [ft-devel] [patch] emboldening rework v1

2012-06-06 Thread Werner LEMBERG
[...] let's bring FT_GlyphSlot_Embolden in agreement with what ftview does. This removes too much width that used to be added to the emboldened glyphs. Thanks. Do you have time to provide some documentation also? Werner ___ Freetype-devel

[ft-devel] ttfautohint 0.9 has been released

2012-06-07 Thread Werner LEMBERG
ttfautohint 0.9 has been released. The source tarball, statically-linked binaries for Win32 (TTY and GUI) and OS X (TTY only) are available from http://savannah.nongnu.org/download/freetype/ or http://sourceforge.net/projects/freetype/files/ttfautohint/0.9 Enjoy! Werner PS:

Re: [ft-devel] Seams with disjoint composite

2012-06-07 Thread Werner LEMBERG
Great time for asking then: are subglyph positions rounded as part of the hinting process? It depends on a flag in the glyph's data, ROUND_XY_TO_GRID, if the subglyph's offset is given as xy values. However, for the particular DejaVu glyph, the subglyphs all have a zero offset, but point

Re: [ft-devel] Seams with disjoint composite

2012-06-07 Thread Werner LEMBERG
BTW, checkout DejaVuSans at 4pt. I see all kinds of triangular artifacts. Not my problem :-) According to the font's gasp table, hinting should be switched off below 9pt. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] Seams with disjoint composite

2012-06-07 Thread Werner LEMBERG
BTW, checkout DejaVuSans at 4pt. I see all kinds of triangular artifacts. Not my problem :-) According to the font's gasp table, hinting should be switched off below 9pt. See attachment. Yes, I know. I can only repeat: The bytecode goes havoc because it doesn't work at this size. This

Re: [ft-devel] Seams with disjoint composite

2012-06-07 Thread Werner LEMBERG
It depends on a flag in the glyph's data, ROUND_XY_TO_GRID, if the subglyph's offset is given as xy values. However, for the particular DejaVu glyph, the subglyphs all have a zero offset, but point coordinates are rounded to integers anyways as part of the normal rasterization process.

Re: [ft-devel] Seams with disjoint composite

2012-06-07 Thread Werner LEMBERG
See Spooky G, attached :). This *is* nice! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] PDF text rendering error

2012-06-07 Thread Werner LEMBERG
I render the pdf text use freetype, but it is different with adobe acrobat shows, is there anyone can analyze the reason? The font in question must be rendered with TrueType hinting, otherwise it produces the bad results you get. For example, ghostscript 9.05 is doing this. Simply try to

Re: [ft-devel] Seams with disjoint composite

2012-06-07 Thread Werner LEMBERG
Filed here: https://bugs.freedesktop.org/show_bug.cgi?id=50848 Thanks. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] wrong glyph image of Calibri.ttf

2012-06-11 Thread Werner LEMBERG
I create face with Calibri.ttf(this file on windows system fonts dir), [...] AFAIK, this font needs ClearType handling of the bytecode for good display. This is not implemented yet (but should be available as soon as the Infinality patches are integrated). I would be very interested in the

Re: [ft-devel] PDF text rendering error

2012-06-11 Thread Werner LEMBERG
Attached is my proposal to fix this issue, please try. Looks good! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] PDF text rendering error

2012-06-11 Thread Werner LEMBERG
It seems that non-family-names (e.g. full name, PostScript name etc) are not truncated. Should I add an extra check to compare these non-familyname strings with the blacklist of tricky fonts? I vote for `not yet'. It seems that your current approach with checksums works fine. Let's wait

Re: [ft-devel] $BEz$(P%;(B: wrong glyph image of Calibri.ttf

2012-06-12 Thread Werner LEMBERG
thanks,another question,is there 64bit freetype2 lib officially release?I build a 64bit lib locally, but crash at running time in my application. AFAIK, FreeType builds just fine as 64bit. Can you debug the problem? Werner ___ Freetype-devel

Re: [ft-devel] PDF text rendering error

2012-06-12 Thread Werner LEMBERG
If you make the compiler include the header files by compiler flags written in project file, please post project file too. Uh, oh, a C or C++ snippet should always be compilable on the *command line*, even on Windows! This is the only way to get something portable, more or less. Werner

Re: [ft-devel] FW: PDF text rendering error

2012-06-12 Thread Werner LEMBERG
embeded font 1_BKLGIB+FA.ttf i sent yesterday to test: ** Not possible to test anything with the font you sent (Fontlab, ** fontforge, TTX). try to see other glyphs ! The font is OK. As I've mentioned before, it is *not* possible to edit this font with FontLab or FontForge! You need a

Re: [ft-devel] PDF text rendering error

2012-06-13 Thread Werner LEMBERG
... Are you really writing code without indentation? #include ../../ft2.4.9/include/freetype/internal/ftobjs.h Uh, oh! You must never, ever use an internal header file in your source code (except for special reasons). int load_flags = 8; Any reason why you don't use the symbolic value,

Re: [ft-devel] Artefacts when rendering with FreeType 2.4.9

2012-06-13 Thread Werner LEMBERG
Do you understand the Rx calculations? Not without a lot of time to introduce myself to the code :-) They are wrong if integer overflows, aren't they? Yes, it seems so, but up to now we haven't had a bug report. So there will be artifacts, possibly very small ones, when SMulDiv_NoRound

Re: [ft-devel] PDF text rendering error

2012-06-13 Thread Werner LEMBERG
I attached the TTF in your sample PDF, and attached PNG is my rasterization result. I think it's OK. Toshiya-san, thanks for testing! Please commit. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] PDF text rendering error

2012-06-13 Thread Werner LEMBERG
now, what i need to modify? or, i render error, you are still right? You should check your programming environment! Your program *certainly* links with a wrong, unpatched FreeType library version. And *please* do your homework right! If we ask for a simple example which can be compiled on

Re: [ft-devel] Artefacts when rendering with FreeType 2.4.9

2012-06-13 Thread Werner LEMBERG
Let's not rush with this and just say that your fix is incomplete for now. OK. I have a completely new ftgrays implementation without '%' that works quite nicely. Aah, great to hear! Werner ___ Freetype-devel mailing list

Re: [ft-devel] PDF text rendering error

2012-06-13 Thread Werner LEMBERG
it is my programming environment problem! I spend a night do the check, my homework is bad. it is render right now! Thanks again for your patience and i Will be more rigorous. You are welcome. Great that it works now. Werner ___

Re: [ft-devel] Horizontal Stem Snapping in Autohinter

2012-06-13 Thread Werner LEMBERG
What are your thoughts on implementing horizontal stem snapping in the autohinter? It's certainly worth an option. BTW, if you say `make devel', the option AF_CONFIG_OPTION_USE_WARPER is in use which goes into a similar direction but trying to minimize the glyph shape distortion. Have you

[ft-devel] preparing new release

2012-06-14 Thread Werner LEMBERG
Folks, I'm going to prepare FreeType release 2.4.10 within 24 hours. In case you want to contribute something urgent, please do it right now. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

[ft-devel] FreeType 2.4.10 has been released

2012-06-14 Thread Werner LEMBERG
FreeType 2.4.10 has been released. It is available from http://savannah.nongnu.org/download/freetype/ or http://sourceforge.net/projects/freetype/files/ The latter site also holds older versions of the FreeType library. See below for the relevant snippet from the CHANGES file;

Re: [ft-devel] Peter Wiegel's auto spacing idea

2012-06-14 Thread Werner LEMBERG
I think, that could work like this: the software has to build and you conture around any glyphe, in a way that the distance to the outline of the glyphe is depending on its form, so that the  new outline is closer to sharp edges then to straight lines. this could be done in the way I have

Re: [ft-devel] Horizontal Stem Snapping in Autohinter

2012-06-14 Thread Werner LEMBERG
The only reason I bring up the horizontal stem snapping (outside the context of a new autohint API) is that it could be implemented without needing to add any new variables, and without using the warper. I don't object to any improvements, but I would like to be able to compare the

Re: [ft-devel] New Infinality Release

2012-06-16 Thread Werner LEMBERG
For those interested, the latest release is available here: http://www.infinality.net/blog/infinality-freetype-patches/ Very nice! Some remarks regarding freetype-add-subpixel-hinting-infinality-20120615-01.patch: . In line 1440 I see this: +#endif /*

Re: [ft-devel] New Infinality Release

2012-06-17 Thread Werner LEMBERG
Next patch will have all the issues you brought up resolved. Great! Thanks a lot. There is a last problem, namely a proper ChangeLog entry. However, if you have a final code, I can prepare this for you before you are getting desperate :-) Now, if I can just figure out what the deal is with

Re: [ft-devel] New Infinality Release

2012-06-18 Thread Werner LEMBERG
If I am unable to connect in the next hour or two, I can send you the patch. The patch is now in the repository. Thanks a lot! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] New Infinality Release

2012-06-18 Thread Werner LEMBERG
Hope to see rest of the infinality patchset in later on :) This will take a longer time, since we first have to implement a proper infrastructure to control the auto-hinter. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] New Infinality Release

2012-06-18 Thread Werner LEMBERG
I really dislike how you disabled hinting in the x-direction. [...] Thanks for your reviews, and please continue. I'm sure Erik will collect them all :-) Note that I won't do any changes right now; instead, I hope that Erik's SSH problems are gone soon so that he can maintain the code by

[ft-devel] GDI ClearType support for ttfautohint available

2012-06-24 Thread Werner LEMBERG
Folks, I've just added GDI ClearType support to ttfautohint. This gets automatically detected, so no user action is required. Please test! Note that you won't see a difference with FreeType (except if you patch the sources); you should rather use an older Windows version like Win XP which

Re: [ft-devel] GDI ClearType support for ttfautohint available

2012-06-25 Thread Werner LEMBERG
Did you also tweak something else in ttfautohint very recently? I'm on latest 0.9.6-6446. Latest TTfautohinted fonts under DirectWrite render noticeably better than those from previous weeks builds. Stems look much crisper across the x-axis :) Whatever you did, was good. Interesting, since

Re: [ft-devel] GDI ClearType support for ttfautohint available

2012-06-25 Thread Werner LEMBERG
Well looking at the git repo i notice the latest build added function for different flavours of cleartype rendering; Yes, but you've written that you are using 0.9.6-6446! The latest was 0.9.8-470f until one minute and is now 0.9.9-c45e. I assumed this what partly was effecting rendering

Re: [ft-devel] GDI ClearType support for ttfautohint available

2012-06-25 Thread Werner LEMBERG
I'm trying to compile the last version of TTFautohint from GIT, maybe I mess something... After git clone git://repo.or.cz/ttfautohint.git then ./bootstrap then ./configure 'Make' returns an error : no makefile found If you look at the configure script you can see that it exits with an

Re: [ft-devel] [patch] fuller right margin in ftview

2012-06-27 Thread Werner LEMBERG
The attached patch changes the way 'ftview' fills the window with glyphs so that the right margin is less blank and a larger number of glyphs shown. It uses the actual width of the current grBitmap, instead of super conservative max_advance, when fitting the glyphs in the available space.

Re: [ft-devel] Ligature support in Freetype?

2012-06-27 Thread Werner LEMBERG
I was wondering if anyone on this list might be able to help me work out the effort required to support the FF Chartwell font in freetype2: https://www.fontfont.com/how-to-use-ff-chartwell Direct support in FreeType? Nope. You need either Pango, ICU, or HarfBuzz which are OpenType

Re: [ft-devel] [patch] fuller right margin in ftview

2012-06-27 Thread Werner LEMBERG
I've picked FT_Err_Raster_Overflow to indicate the boundary. Is that appropriate? No, it isn't IMHO: FT_Err_Raster_Overflow is a fatal error, indicating a serious problem which the rasterizer can't manage. I think a simple integer will serve as return error instead of FT_Error. I am also

Re: [ft-devel] WOFF support in FreeType?

2012-06-27 Thread Werner LEMBERG
Is there anyone interested in adding WOFF support directly to FreeType? Yes, I will eventually add it but have'nt found time yet. It's a trivial amount of work. Basically you copy the SFNT code, slightly modify it, and hook up the gzip decompressor to the tables... Patches, please :-)

Re: [ft-devel] [patch] fuller right margin in ftview

2012-06-27 Thread Werner LEMBERG
[...] the drawing functions ultimately inherit the error codes from FT_Glyph_To_Bitmap currently. Therefore it has to be something different from those defined in fterrdef.h to distinguish. It would be good if freetype reserved an FT_Err_User, defined as -1 or 0xFF perhaps, which is not

Re: [ft-devel] [PATCH] Fix CFLAGS and LDFLAGS share configure test

2012-06-27 Thread Werner LEMBERG
-AC_MSG_RESULT([whether CFLAGS and LDFLAGS share ${c}]) +AC_MSG_CHECKING([whether CFLAGS and LDFLAGS share ${c}]) Applied, thanks. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] [PATCH] Fix 'checking if gcc static flag -static works' test

2012-06-30 Thread Werner LEMBERG
Update LDFLAGS only after LT_INIT has run. Applied, thanks! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

[ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-01 Thread Werner LEMBERG
From the documentation: ### Stem Width and Stem Positioning `--strong-stem-width=`*string*, `-w`\ *string* : ttfautohint offers two different routines to handle stem widths and stem positions: 'smooth' and 'strong'. The former uses discrete values which slightly increase the stem

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-01 Thread Werner LEMBERG
In theory, what difference should there be under which render settings? First of all, I'm not sure whether the selection of the three rendering modes really works as expected. My only test was with current git version of FreeType, and there everything's fine... To be sure to really see the

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-01 Thread Werner LEMBERG
I will try and do some extensive tests tomorrow; sans, serifs, win7, winXP, diff browsers, etc. I will prob add in Android too, as ttfautohint can effect fonts under Freetype too. Thanks in advance for that! I think it's best to directly compare the algorithms (this is `-w gGD' vs. `-w ')

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-01 Thread Werner LEMBERG
On closer inspection it is the 'G' option that gave the only 'different' rendering i saw, and it's not overall better anyway. If you say `-w G', this means that you get the smooth algorithm for gray and DW ClearType, and strong for GDI ClearType, at least in theory. Shots attached. Thanks!

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-01 Thread Werner LEMBERG
I've got a bit lost keeping up with what rendering the different browsers on Windows* use now. Here is a nice table: http://www.smashingmagazine.com/2012/04/24/a-closer-look-at-font-rendering/ No idea whether this is correct, though... Werner PS: I faintly remember that there

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-01 Thread Werner LEMBERG
Here is a nice table: http://www.smashingmagazine.com/2012/04/24/a-closer-look-at-font-rendering/ No idea whether this is correct, though... Reading the comments on that page, it seems that it is *really* complicated. Another facet is that according to

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-01 Thread Werner LEMBERG
Those shots were using the win7 system font viewer- which I think makes it plain old gdi cleartype?? Don't think direct write at system level comes until win8. I maybe wrong, but I thought dw was found in explorer 9 and Firefox 7+ but not the win system. Aah. Then the rasterizer logic in

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-02 Thread Werner LEMBERG
It is OpenSans Regular from the Google webfonts server. Thanks. you mean https://browserlab.adobe.com/en-us/ ? Yessir! Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-02 Thread Werner LEMBERG
PS: Who knows a TrueType debugger for MS Windows (this is, which uses the rendering engine of MS Windows!) similar to FontForge? Ideally, this should run under Wine also... But on Wine, it'll use FreeType rather than the MS rasterizer, so what exactly is the point? :) The point is

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-03 Thread Werner LEMBERG
Hello Vern! In git, I've now fixed the situation displayed in your `Capture-G-win7GDI.png' image (showing Open Sans at 21px, please look at the ugly rendering of digit 3, for example): It was a buglet in FreeType's autofit module which didn't show up because of its smooth rendering algorithm.

Re: [ft-devel] [ttfautohint] stem width handling is now selectable

2012-07-03 Thread Werner LEMBERG
widths which are different less than or equal to 1% of the em size are unified; this is certainly not noticeable visually. 1/64 is better heuristic than 1%. Why not avoid costly division with divide by 64 instead. I doubt that it is `costly' since the routine is called exactly twice *per

<    7   8   9   10   11   12   13   14   15   16   >