freetype-devel
[Top][All Lists]
Advanced

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

Re: Logging Library-GSOC


From: Werner LEMBERG
Subject: Re: Logging Library-GSOC
Date: Sat, 29 Aug 2020 17:22:41 +0200 (CEST)

> So, I have updated the code in `GSoC-2020-priyesh' branch such that
> there are no separate project files for building dlg,

Thanks.

> in this branch I have used the `dlgwrap.c' method, [...]

OK.

> I have also pushed all the changes in this new branch, Please take a
> look at that and let me know if there are any concerns.

It works, great, AFAICS!  Two minor things.

* Under GNU/Linux the `dlg` library needs pthread.  Please fix
  building the demo tools in `make devel` mode by adding the attached
  patch to a branch.

  It would be great if you could also update FreeType's
  `builds/unix/configure.raw` file to check for working pthread
  support.

* Right now I get, for example,

    [objs]    FT_Open_Face: Requesting number of faces and named instances
    [io]    FT_Stream_Open: opened `zapf.cff' (329 bytes) successfully
    [ttobjs]    TTF driver
    [ttobjs]      SFNT driver
    [sfobjs]      not a font using the SFNT container format
    [t1objs]    Type 1 driver

  However, I would like to have

    [objs]      FT_Open_Face: Requesting number of faces and named instances
    [io]        FT_Stream_Open: opened `zapf.cff' (329 bytes) successfully
    [ttobjs]    TTF driver
    [ttobjs]      SFNT driver
    [sfobjs]      not a font using the SFNT container format
    [t1objs]    Type 1 driver

  In other words, I want that all tags a constant width for better
  vertical alignment.


    Werner
diff --git a/Makefile b/Makefile
index 851c4f7..e63880e 100644
--- a/Makefile
+++ b/Makefile
@@ -172,7 +172,7 @@ else
   else
     LINK_CMD = $(CC) $(subst /,$(COMPILER_SEP),$(LDFLAGS))
     ifeq ($(PLATFORM),unixdev)
-      LINK_LIBS := $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) -lm -lrt -lz 
-lbz2
+      LINK_LIBS := $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) -lm -lrt -lz 
-lbz2 -lpthread
       LINK_LIBS += $(shell pkg-config --libs libpng)
       LINK_LIBS += $(shell pkg-config --libs harfbuzz)
       LINK_LIBS += $(shell pkg-config --libs libbrotlidec)

reply via email to

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