Code Monkey home page Code Monkey logo

Comments (5)

sebschlo avatar sebschlo commented on June 3, 2024 1

Problem solved! I wasn't aware that different .ttf files were necessary for each font type. Thanks for the help!

from heroku-buildpack-tex.

codingjoe avatar codingjoe commented on June 3, 2024

Hi @sschloesser do the font's work for you if you compile the PDF on your local machine?

from heroku-buildpack-tex.

sebschlo avatar sebschlo commented on June 3, 2024

Yes, both on my machine with the full texlive installation or on overleaf, the fonts work as expected, which is why I imagine some files might just be missing from the bare bones installation on heroku.

from heroku-buildpack-tex.

syphar avatar syphar commented on June 3, 2024

@sschloesser is this a TTF or LaTeX Font?

  • for latex font installing the corresponding package should be good enough. Perhaps you'll have to search inside your local (full) tex installation which package installs the font you need
  • if it's xelatex and a normal TTF font, they can't be installed via tex packages. You have to have them installed on your local system. In our case we have a .fonts directory in our application repo, the fonts there get picked up by heroku/xelatex

from heroku-buildpack-tex.

sebschlo avatar sebschlo commented on June 3, 2024

Ok so including the TTF font in .fonts and using it via
\usepackage{fontspec} \setmainfont{Arial}
worked! The only thing that is still not working is bold via \textbf{bold text here}. Could that be a deficiency of the TTF file I used?

from heroku-buildpack-tex.

Related Issues (13)

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.