GithubHelp home page GithubHelp logo

Comments (6)

MaxPerl avatar MaxPerl commented on August 20, 2024

Just a guess: Have you installed the development files of libfreetype?

from abcm2ps.

moinejf avatar moinejf commented on August 20, 2024

The script 'configure' checks if the development files of freetype2 and pangocairo are installed. Normally, as done in subs.c, only the files <pango/pangocairo.h> and <pango/pangofc-font.h> have to be installed. In my distro (VoidLinux), <pango/pangofc-font.h> includes (freetype/)<ft2build.h> which includes <freetype/freetype.h> which defines FT_Face.
So, it seems that this is a bug in your distro.

from abcm2ps.

christian-heusel avatar christian-heusel commented on August 20, 2024

What do you mean by "developement files"? Would (under debian) this be something like libfreetype6-dev?
I have the packages freetype2 and pango installed.

Thanks for the quick responses πŸ˜„

from abcm2ps.

MaxPerl avatar MaxPerl commented on August 20, 2024

Yes, in debian, it would be libfreetype6-dev. But if configure checks the existence, then this shouldn't be the problem?

from abcm2ps.

moinejf avatar moinejf commented on August 20, 2024

This problem is in the .h files themselves. You should check the inclusion chain.
Here is what I have in my system:

subs.c needs FT_Face, so, it includes <pango/pangofc-font.h>, i.e.:
/usr/include/pango-1.0/pango/pangofc-font.h
This one includes <ft2build.h>, i.e.:
/usr/include/freetype2/ft2build.h
which includes:
/usr/include/freetype2/freetype/config/ftheader.h
This file defines the name of the freetype.h file by the macro FT_FREETYPE_H
Then, back to subs.c and <pango/pangofc-font.h>
/usr/include/pango-1.0/pango/pangofc-font.h
This file includes FT_FREETYPE_H which is obviously
/usr/include/freetype2/freetype/freetype.h
and where FT_Face is defined.

from abcm2ps.

christian-heusel avatar christian-heusel commented on August 20, 2024

GNOME/pango@5af6340

Okey, this seems to be a pango upstream issue... I will have a look if the upstream change fixes my issue ☺️
At the moment I have pango Version 1:1.44.3-1 which does not include the fix ...
So was is a mix between upstream and distro issue πŸ˜„

Thank you all for your help! πŸ˜›
Tracing down the includepath and having a look at upstream did the trick for me!

from abcm2ps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.