Re: Strange hinting of precomposed character

2023-07-16 Thread Werner LEMBERG
>> I would expect that, if the diacritic is to be hinted as a >> horizontal bar, that would occur only at the smallest sizes, and >> would equally affect the combining diacritic too. > > Somebody more knowledgeable can correct me, but I think combining > diacritics happens with: > > Outline1 ->

Re: QT6 build of ftinspect bit-rotten?

2023-07-16 Thread Werner LEMBERG
> Btw, anybody done QT6 build of ftinspect lately? Well, looking into `src/ftinspect/{meson.build,CMakeLists.txt}` I only see build support for Qt5. Apparently, Qt6 support was tested experimentally only. Charlie, can you comment, please? Werner

Re: Bug in rsvg+cairo hook with Nabla? (Re: another small patch for ft2-demos, and other stuff.

2023-07-16 Thread Werner LEMBERG
> [...] I seem to have found a problem with the rsvg/cairo-based hook > with the Google Nabla color font. > > [...] I found that rsvg+cairo hook renders it B/W [...]. Strangely > enough, with the skia-based hook, I see the expected color look. > [...] this seems to suggest that the SVG in this f

Bug in rsvg+cairo hook with Nabla? (Re: another small patch for ft2-demos, and other stuff.

2023-07-16 Thread Hin-Tak Leung
On Sunday, 16 July 2023 at 07:02:50 BST, Werner LEMBERG wrote: > >  That fundamentally means it is not possible to switch the renderer > > hook on a per current glyph level, keeping the current face? >.I don't think so – who wants that except weird FreeType demo > programs? :-) > Moazin, plea

QT6 build of ftinspect bit-rotten? (Re: skeletal makefile for ftinspect (Re: Future of autotools)

2023-07-16 Thread Hin-Tak Leung
Btw, anybody done QT6 build of ftinspect lately?When I was writing the makefile, I had to install some qt5*-devel packages. I did some qt3/qt4 stuff a long time ago, so I kept those, but uninstalled most of qt5-dev stuff when I see qt6 being installed as part of half-yearly upgrade. I am on gno

Re: skeletal makefile for ftinspect (Re: Future of autotools)

2023-07-16 Thread Hin-Tak Leung
Yes, the moc location on fedora 38 can be queried with: pkg-config Qt5Core --variable=host_bins If this works correctly on other systems, we should set  MOC=`pkg-config Qt5Core --variable=host_bins`/moc Or put PATH=${PATH}:`pkg-config Qt5Core --variable=host_bins` and MOC=moc ? I am more inclined

Re: skeletal makefile for ftinspect (Re: Future of autotools)

2023-07-16 Thread Hugh McMaster
On Fri, 14 Jul 2023 at 00:49, suzuki toshiya wrote: > > The pkg-config interface should take care of everything easily. Debian > and Ubuntu have the relevant qt5 pkg-config files. Other distributions > should too. > > Does pkg-config give the information for the pathname of moc? > (the original qu

Re: Strange hinting of precomposed character

2023-07-16 Thread Hin-Tak Leung
On Sunday, 16 July 2023 at 07:54:11 BST, Brad Neimann wrote: > ...Can anyone explain what’s > happening here? I would expect that, if the diacritic is to be hinted as > a horizontal bar, that would occur only at the smallest sizes, and would > equally affect the combining diacritic too. Som

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-16 Thread Werner LEMBERG
> One question, is c++ built libfreetype binary completely compatible? > It seems the opposite is (c++ built ft2-demos can use c-built > freetype) is. I think that in general it is possible to use C libraries as-is in C++ but not vice versa. > Basically I am thinking of doing a > > FT_Load_Gly

Re: Strange hinting of precomposed character

2023-07-16 Thread Werner LEMBERG
> I’ve attached an interesting hinting problem seen ‘in the wild’. > [...] I would expect that, if the diacritic is to be hinted as a > horizontal bar, that would occur only at the smallest sizes, and > would equally affect the combining diacritic too. The Noto fonts use `ttfautohint` for automa

Re: rsvg vs skia comparison (the actual skia based ft2-demo ot-svg renderer hook code diff

2023-07-16 Thread Hin-Tak Leung
On Sunday, 16 July 2023 at 07:13:20 BST, Werner LEMBERG wrote: > > I added a "-s" command line option to both ftview and ftgrid to swap > > rsvg out with skia and run the same binary twice, one with "-s" and >.> one without, just to look at them side by side. Fixed the pixel > positioning d

Re: ftbench update: make integrated

2023-07-16 Thread Werner LEMBERG
> * i modified benchmark program not to report 'time per op’ but > rather 'cumulative time per N iterations' > * changed the table design > * sentence 'smaller values are better’ is present > * embed a small CSS fragment at the top of the page > * linked to the original baseline and benchmark `