Giter Site home page Giter Site logo

Comments (7)

yixuan avatar yixuan commented on September 14, 2024

It seems that this font was recently added by Google, and I need to update the font database. I'll fix this late today.

from showtext.

yixuan avatar yixuan commented on September 14, 2024

OK, it turns out that this font is not open source and thus cannot be loaded from Google Fonts. See the information here.

from showtext.

noelnamai avatar noelnamai commented on September 14, 2024

@road2stat

from showtext.

Jrakru avatar Jrakru commented on September 14, 2024

I have the same issue but the font is supposed to have an open font license.

> library(showtext)
> font_add_google("Staatliches","Staatliches")
Error in search_db(name, db_cache, handle) : font not found

from showtext.

yixuan avatar yixuan commented on September 14, 2024

@Jrakru Can you try font_add_google("Staatliches", "Staatliches", db_cache = FALSE)?

from showtext.

Cami1992 avatar Cami1992 commented on September 14, 2024

font_add(family = "Gill Sans Nova Book", regular = "C:/Users/Linus/Documents/District_Profiles/Gill Sans Nova Book.ttf")
font_families()
Error in check_font_path(regular, "regular") :
font file not found for 'regular' type
font_add_google("Gill Sans Nova", "gill", db_cache = FALSE)
Error in search_db(name, db_cache = TRUE, handle = handle) :
font not found

from showtext.

yixuan avatar yixuan commented on September 14, 2024

Hi @Cami1992, please consider to open a new issue as this was marked closed. For your second question, it is because "Gill Sans Nova" is not in the Google Fonts collection. I cannot debug your first question since I do not have the "Gill Sans Nova Book.ttf" file. You can try to upload the file so I can take a look.

from showtext.

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.