Re: [ft-devel] Conversions and Branch on Repository

2018-06-03 Thread Khaled Hosny
On Sun, Jun 03, 2018 at 10:07:13PM +0200, Werner LEMBERG wrote: > >> I'm going to test this and apply the header reformatter to > >> `master'. > > > > OK! > > This is now done with two monster commits. Thanks for the script, > Nikhil, and bye bye to old block header format! > > In total,

Re: [ft-devel] Contribution to freetype

2018-03-18 Thread Khaled Hosny
On Sun, Mar 18, 2018 at 12:13:03PM +0100, Werner LEMBERG wrote: > > In the namespace definition of XML, such strings looking like as URL > > are required as the identifiers, and often unreachable URL causing > > 404 error. But it is not broken in the conformance of XML spec. > > OK, thanks. I

Re: [ft-devel] Head table upem value from FT_Face for (color) bitmap fonts?

2018-02-16 Thread Khaled Hosny
On Fri, Feb 16, 2018 at 03:23:57PM +0200, Dominik Röttsches wrote: > Can we potentially change the behaviour so that FreeType still exposes this > value for bitmap fonts, even though it's not useful in all cases? Or is > this a non use-case for FreeType and clients should parse the head table on >

Re: [ft-devel] TrueType kern table subtable format ignored?

2017-09-11 Thread Khaled Hosny
On Tue, Sep 12, 2017 at 12:20:36AM +0200, Werner LEMBERG wrote: > >> Kerning table format 2 is not supported on Windows, AFAIK. Why not > >> directly using GPOS kerning? > > > > Looks to me like kern format2 can be much faster than equivalent > > GPOS. > > OK. Let's see whether this is true

Re: [ft-devel] [GSoC] ftinspect

2017-03-31 Thread Khaled Hosny
On Fri, Mar 31, 2017 at 09:36:56AM +0200, Philipp Kerling wrote: > 2017-03-31 (金) の 09:19 +0200 に Khaled Hosny さんは書きました: > > “make CXX="g++ -std=c++98"” does the trick, but TrueTypeViewer uses > > Qt 3 > > as well, so that one is hopeless. > -std=c++98 was stil

Re: [ft-devel] [GSoC] ftinspect

2017-03-31 Thread Khaled Hosny
On Fri, Mar 31, 2017 at 07:02:09AM +0200, Werner LEMBERG wrote: > > > TrueType Viewer by Rogier van Dalen already is a FreeType-based font > > viewer and hinting debugger with a quite decently designed Qt-based > > GUI. > > > > https://github.com/rogiervd/fonttools > > > >

Re: [ft-devel] ftview / ftstring proposal

2016-09-23 Thread Khaled Hosny
On Fri, Sep 23, 2016 at 10:27:59AM -0400, Alexei Podtelezhnikov wrote: > These are the default strings that I plan to hard code: Arabic and Indic will be of very limited value since the tool does not support OpenType layout. Regards, Khaled ___

Re: [ft-devel] rendering mode of Firefox on Windows 10

2015-11-05 Thread Khaled Hosny
On Thu, Nov 05, 2015 at 07:43:21PM +0100, Werner LEMBERG wrote: > > >> according to browserstack, the current release 41 of Firefox on > >> Windows 10 seems still to use the GDI framework, which implies font > >> rasterizer version 37, [...] > > > > I suspect that browserstack uses remote

Re: [ft-devel] rendering mode of Firefox on Windows 10

2015-11-05 Thread Khaled Hosny
On Thu, Nov 05, 2015 at 11:26:44PM +0300, Nikolay Sivov wrote: > On 05.11.2015 22:06, Khaled Hosny wrote: > >On Thu, Nov 05, 2015 at 07:43:21PM +0100, Werner LEMBERG wrote: > >> > >>>>according to browserstack, the current release 41 of Firefox on > >&

Re: [ft-devel] Improved Arabic auto-hinting

2015-08-07 Thread Khaled Hosny
On Fri, Aug 07, 2015 at 05:24:17PM +0200, Werner LEMBERG wrote: I've verified that the vertical position for the joining glyphs are the same in his font... I can't reproduce any improvements so far. This effect: https://www.flickr.com/photos/behdad/34769511/ still happens in

Re: [ft-devel] OS X Framework support for CMake

2014-05-16 Thread Khaled Hosny
On Fri, May 16, 2014 at 08:13:22AM +0200, Werner LEMBERG wrote: Simple patch to CMake files that adds support of building OS X framework. Applied, thanks, with minor formatting. Please check whether everything's allright. Can be pulled from here:

Re: [ft-devel] OS X Framework support for CMake

2014-05-16 Thread Khaled Hosny
On Fri, May 16, 2014 at 03:52:24PM +0200, Werner LEMBERG wrote: apparently it is not possible at github to directly get a commit formatted as a patch file... https://github.com/stopiccot/freetype2/commit/bbf1dbf6c2929dee768bea1edbd8340d909ee2ee.patch Aah, thanks. But where can I

Re: [ft-devel] New Microsoft size-specific design selection mechanism

2013-10-27 Thread Khaled Hosny
On Tue, Oct 22, 2013 at 04:59:43PM +0200, Behdad Esfahbod wrote: http://typedrawers.com/discussion/470/new-microsoft-size-specific-design-selection-mechanism Would be nice to add support for this. I like to use it in fontconfig. I think something is missing here, I see only the size range,

Re: [ft-devel] New Microsoft size-specific design selection mechanism

2013-10-27 Thread Khaled Hosny
On Sun, Oct 27, 2013 at 09:25:38PM +0100, Behdad Esfahbod wrote: On 13-10-27 09:14 PM, Khaled Hosny wrote: On Tue, Oct 22, 2013 at 04:59:43PM +0200, Behdad Esfahbod wrote: http://typedrawers.com/discussion/470/new-microsoft-size-specific-design-selection-mechanism Would be nice to add

Re: [ft-devel] [ttfautohint] Multiple scripts are now supported

2013-10-22 Thread Khaled Hosny
On Tue, Oct 22, 2013 at 03:26:10AM +0200, Werner LEMBERG wrote: In my system ttfautohint window is too long and does not fit into the screen for some reason, making the run button not accessible, and GNOME Shell (in its infinite wisdom) does not let me move the window beyond its top bar.

Re: [ft-devel] [ttfautohint] Multiple scripts are now supported

2013-10-19 Thread Khaled Hosny
On Sat, Oct 19, 2013 at 08:42:44AM +0200, Werner LEMBERG wrote: I still have to polish the documentation Attached a patch for a minor typo. Regards, Khaled From b1c1870f7d7e247d0a402d27b9e97ab42f942dab Mon Sep 17 00:00:00 2001 From: Khaled Hosny khaledho...@eglug.org Date: Sun, 20 Oct 2013 00

Re: [ft-devel] [ttfautohint] Multiple scripts are now supported

2013-10-19 Thread Khaled Hosny
:00 2001 From: Khaled Hosny khaledho...@eglug.org Date: Sun, 20 Oct 2013 00:56:12 +0200 Subject: [PATCH] [gui] Split the layout into two columns In my system ttfautohint window is too long and does not fit into the screen for some reason, making the run button not accessible, and GNOME Shell (in its

Re: [ft-devel] Latin, Cyrillic, and Greek fonts questions

2013-09-22 Thread Khaled Hosny
On Sun, Sep 22, 2013 at 08:49:29AM +0200, Werner LEMBERG wrote: Folks, I have two questions: 1. Do Cyrillic or Greek outline fonts exist which don't contain the ASCII characters a-z, A-Z, and 0-9? Most of GFS fonts do not contain the ASCII letters:

Re: [ft-devel] X-Height CapHeight

2013-08-21 Thread Khaled Hosny
On Wed, Aug 21, 2013 at 04:29:07PM +0200, another gol wrote: Hi, Would be nice to have x-height capheight published (I know I'm not the first one to ask). I fully understand that they're only available in a truetype chunk, but when the info is there, it beats having to guess it. Both are

Re: [ft-devel] vertBearingY of CFF glyphs is always unscaled

2013-04-04 Thread Khaled Hosny
On Thu, Apr 04, 2013 at 06:14:07AM +0200, Werner LEMBERG wrote: [CCed Behdad] I had an issue with vertical text layout in HarfBuzz, in short we have the calculation: y = metrics.horiBearingY - (-metrics.vertBearingY) and since horiBearingY is scaled with font size while

[ft-devel] vertBearingY of CFF glyphs is always unscaled

2013-04-03 Thread Khaled Hosny
Hi all, While debugging some mysterious glyph positioning issue, I found that the vertBearingY of CFF glyphs is always the same no matter what font size is. The attached patch fixes the issue for me, though I'm not sure if this is the right place to scale the metric. Regards, Khaled diff --git

Re: [ft-devel] Glyph metrics figures on the website

2012-10-28 Thread Khaled Hosny
On Sun, Oct 28, 2012 at 08:45:14AM +0100, Werner LEMBERG wrote: and the conversion from PDF to SVG is not optimal; at least not with inkscape. If you want a good PDF to SVG converter, try pdf2svg (a small tool using Poppler and Cairo, but handles text much better than Inkscape):

Re: [ft-devel] Getting the kerning pairs in under O(n*n)

2012-10-03 Thread Khaled Hosny
On Wed, Oct 03, 2012 at 02:38:40PM -0700, Vinnie Falco wrote: Please don't forget that FreeType's job is to render glyphs, nothing else. My opinion is that since FreeType opens the font file, it might as well process everything that is in it. That is easy to say :) Regards, Khaled

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

2012-06-15 Thread Khaled Hosny
On Thu, Jun 14, 2012 at 08:06:42PM +0100, Vernon Adams wrote: could that be done in fontforge too? FontForge has programable auto kerning feature (one can supply FontForge with a Python function that computes the amout of kerning needed). http://fontforge.sourceforge.net/autowidth.html

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

2012-05-05 Thread Khaled Hosny
Hi all, Commit 6076a72 seems to have broken ttfautohint's `configure --with-freetype-config`, attached a little patch to restore it. Regards, Khaled diff --git a/configure.ac b/configure.ac index f0721cf..25a2ac9 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,7 @@

[ft-devel] [PATCH] Versions of ttfautohint dependencies

2012-02-05 Thread Khaled Hosny
Hi all, I successfully built ttfautohint (from git master) with autoconf 2.65, libtool 2.2.2, and Qt 4.6, all less than the versions specified in bootstrap.conf and configure.ac. So unless there is a reason not to require the higher version, I suggest lowering the dependencies. Regards, Khaled