[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] success with branch `kushal-work'
From: |
k kushal |
Subject: |
Re: [ft-devel] success with branch `kushal-work' |
Date: |
Mon, 14 Aug 2017 04:56:35 +0530 |
> On 14-Aug-2017, at 4:30 AM, Werner LEMBERG <address@hidden> wrote:
>
>
> Kushal,
>
>
> finally, I had success! Attached is the script I'm using; it should
> run out of the box (note the minor fixes to `make tests’).
Awesome. Will update the script.
> Regarding the HTML presentation, there is still a lot of room for
> visual improvements. Given that GSoC ends soon, I ask you for new
> commits :-)
The HTML part is almost complete. I didn’t commit partly completed
Code in this part.
> In particular, you are generating sprites, but I don't see
> them in action. Am I missing something?
I have the code. Refining and fixing things.
> BTW, I suggest that a glyph image appears magnified by a factor 10 or
> so if the cursor hovers over it. What do you think
Did it. Will update the same :)
PS: Will update ASAP (in next 36 hrs)
>
> Werner
> #!/bin/sh
> #
> # This script builds up an environment in the current directory for testing
> # Kushal's font testing stuff.
> #
> # For building, we use the FreeType git repository. You also need GNU
> # aclocal, autoconf, libtool, and GNU sed.
>
>
> # The FreeType git repository URL.
> FREETYPE_REPO=file:///home/wl/git/freetype/freetype2
>
>
> #
> # Nothing to configure below.
> #
>
> # Clean up, just to be sure.
> rm -rf base
> rm -rf test
>
>
> # We check out and build version 2.6.5 as the baseline.
> git clone --mirror $FREETYPE_REPO base/.git
> cd base
> git config --unset core.bare
> git config receive.denyCurrentBranch updateInstead
> git checkout -b VER-2-6-5 VER-2-6-5
>
> # Activate subpixel rendering.
> sed -i "s|/\* *\(#define *FT_CONFIG_OPTION_SUBPIXEL_RENDERING\) *\*/|\1|" \
> include/freetype/config/ftoption.h
>
> ./autogen.sh
> ./configure --enable-shared --disable-static
> make
>
> BASE_DLL=`pwd`/objs/.libs/libfreetype.so
>
> cd ..
>
>
> # We test `master' against the baseline.
> git clone --mirror $FREETYPE_REPO test/.git
> cd test
> git config --unset core.bare
> git config receive.denyCurrentBranch updateInstead
> git checkout -b kushal-work origin/kushal-work
>
> ./autogen.sh
> ./configure --enable-shared --disable-static
> make
>
> TEST_DLL=`pwd`/objs/.libs/libfreetype.so
>
>
> # Build test program; ensure to not link statically with FreeType.
> cd tests/make_png
> make SRC_LIB= \
> OBJS= \
> LIBS="-lpng -ldl" \
> tests
>
>
> # Run tests.
> echo ./tests $BASE_DLL $TEST_DLL test.ttf 20
> ./tests $BASE_DLL $TEST_DLL test.ttf 20
>
> cd ..
>
> # eof