Giter VIP home page Giter VIP logo

neosent's People

Contributors

raphgl avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zenny

neosent's Issues

Optional flags

The proposed flags are:
-o = to change the name of the output file
-r = compile and open pdf file
-v = verbose mode
-V = show version info

Long flags:
--bg-color
--fg-color
--font-size
--font-family
--sheet-size

Compilation issues in Debian bullseye: 198>38 TTF_HINTING_LIGHT_SUBPIXEL

Hi,

Trying to build in Debian 11 gives the following error. All required dev libraries are installed, fyi,

src/render.c:198:38: error: ‘TTF_HINTING_LIGHT_SUBPIXEL’ undeclared (first use in this function); did you mean ‘TTF_HINTING_LIGHT’?
  198 |   TTF_SetFontHinting(renderer->font, TTF_HINTING_LIGHT_SUBPIXEL);

Changed to TTF_HINTING_LIGHT and the compilation failed againg:

src/render.c:196:3: warning: implicit declaration of function ‘TTF_SetFontSize’; did you mean ‘TTF_SetFontStyle’? [-Wimplicit-function-declaration]
  196 |   TTF_SetFontSize(renderer->font, win_size.x / text_len);
      |   ^~~~~~~~~~~~~~~
      |   TTF_SetFontStyle
make: *** [Makefile:21: render.o] Error 1

Changed to TTF_SetFontStyle and got:

src/render.c:44:53: error: ‘IMG_INIT_AVIF’ undeclared (first use
in this function); did you mean ‘IMG_INIT_TIF’?
   44 | MG_INIT_JPG | IMG_INIT_PNG | IMG_INIT_WEBP | IMG_INIT_AVIF;
      |                                              ^~~~~~~~~~~~~
      |                                              IMG_INIT_TIF
src/render.c:44:53: note: each undeclared identifier is reported
only once for each function it appears in
make: *** [Makefile:21: render.o] Error 1

fyi.

Cheers

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.