Git Product home page Git Product logo

Comments (12)

codeman38 avatar codeman38 commented on July 21, 2024

More specifically, this is an issue with the name table.

There are 2 places that the family name and style name are present in the name table:

  • ID 1, 2: family and style name for compatibility with environments such as Windows that only allow four base styles per family.
  • ID 16, 17: family and style name for environments that support additional styles.

For any fonts outside of the base 4 styles (Regular, Italic, Bold, Bold Italic), record 1 should include the weight name (e.g., "Roboto Thin"), while record 2 should only contain "Regular" or "Italic". Records 16 and 17 can be left as-is.

This has been corrected in the files at https://github.com/google/fonts/tree/master/apache/roboto, but that fix doesn't seem to have made it to this repository yet.

from roboto.

chrtz avatar chrtz commented on July 21, 2024

Thanks codeman,
sadly I still have the issue that the regular italic isn't recognized by windows. :/

from roboto.

codeman38 avatar codeman38 commented on July 21, 2024

This still isn't fixed in the binary deliveries as of 2015/08/20 (545be2d). Were the binaries generated using the code from #51?

I wrote a Python script a while back which uses fonttools to fix the name tables in the binaries as specified above, and it still appears to work on the latest deliveries: https://gist.github.com/codeman38/9d77f650a875639a55e6

from roboto.

jamesgk avatar jamesgk commented on July 21, 2024

Unfortunately no, the binaries present in the repository are not generated by the latest scripts. So yea, the choices are basically to either hotfix the existing binaries as you've done, or generate new fonts from the toolchain yourself (which should be functionally identical to the existing binaries, but the fact that we aren't yet fully confident of this is why this discrepancy exists).

from roboto.

jamesgk avatar jamesgk commented on July 21, 2024

This should be fixed (finally!) in the latest release: https://github.com/google/roboto/releases

from roboto.

Battlehorn avatar Battlehorn commented on July 21, 2024

The version was 2.132......Roboto Regular problem is still not fixed..

from roboto.

jamesgk avatar jamesgk commented on July 21, 2024

I'm unable to reproduce this issue on Windows 8.1 with the fonts in roboto-hinted.zip from the latest release. Could you give some details about where you're seeing a problem?

from roboto.

davelab6 avatar davelab6 commented on July 21, 2024

from roboto.

czuboka avatar czuboka commented on July 21, 2024

A client of mine has started using Roboto in Microsoft Office on Windows machines, and are having problems with the way the font is rendering on screen. The font is displaying very poorly and is nearly impossible to read without zooming in quite a ways. Has anyone encountered this issue? Client sent me this screen shot showing the different between how Roboto displays vs Arial.

arialvsroboto

from roboto.

jamesgk avatar jamesgk commented on July 21, 2024

@czuboka my first impression is that this looks like unhinted Roboto. Could you first make sure that your client is using the hinted version of Roboto? Thanks.

from roboto.

czuboka avatar czuboka commented on July 21, 2024

@jamesgk can you provide me a link to the latest version with hinting so I can be sure I am sending my client the best solution. There are a lot of variations floating around. Thanks!

from roboto.

jamesgk avatar jamesgk commented on July 21, 2024

The latest version of Roboto can be found at https://github.com/google/roboto/releases; the current version with hinting is https://github.com/google/roboto/releases/download/v2.134/roboto-hinted.zip.

from roboto.

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.