Giter Club home page Giter Club logo

Comments (9)

JujuAdams avatar JujuAdams commented on August 25, 2024

Will need to take a look at a project to determine the cause here.

It is unlikely that this can be fixed for 8.7.x because this would be a breaking change for people who are reliant on a (potentially incorrect) vertical offset. However, I can suggest a workaround if this turns out to be a Scribble bug.

from scribble.

SpookySquidGames avatar SpookySquidGames commented on August 25, 2024

Decided to run some tests using other fonts on a hunch and this only seems to effect Silver. Still weird that Scribble and native GM are handling it differently, but at least it seems to not be a larger issue that affects all fonts. Let me know if you'd still like a test project to figure out what's going on here. Thanks!

Going to test the kerning function bug I reported on other fonts as well in case that's also Silver specific.

from scribble.

JujuAdams avatar JujuAdams commented on August 25, 2024

I thhhink I know what this is (ascender offset) but I'd need to see it in situ to be sure.

from scribble.

SpookySquidGames avatar SpookySquidGames commented on August 25, 2024

Ok! I'll put together a little test project and post it here as soon as I have chance. Thanks!

from scribble.

JujuAdams avatar JujuAdams commented on August 25, 2024

Thank you kindly.

from scribble.

SpookySquidGames avatar SpookySquidGames commented on August 25, 2024

Ok example file attached!
silver and scribble test.zip

While making this I found an "interesting" GameMaker quirk. Silver's vertical alignment in native GameMaker text rendering changes depending on what characters you've included in the range. After having a random assortment of Japanese and Korean characters added to the range it started rendering text one pixel lower than before (at least when vertical alignment is set to the top). Extra weird. Removing those characters after doesn't fix it, even making a completely new font from Silver without those characters didn't fix it. It somehow permanently changes the position for the font across all versions. Since I could not find a way to undo this change I wasn't able to test if adding those characters had the same effect in Scribble or on other vertical alignments for native text rendering. Fun!

from scribble.

JujuAdams avatar JujuAdams commented on August 25, 2024

Thank you for the example project. I will take a look soon.

from scribble.

JujuAdams avatar JujuAdams commented on August 25, 2024

Was indeed the ascender offset: 2c464fc

This will not go into v8.7.x but I will put out a v8.8 today with this fix.

from scribble.

JujuAdams avatar JujuAdams commented on August 25, 2024

Fix available in 8.8.0: https://github.com/JujuAdams/Scribble/releases/tag/8.8.0

from scribble.

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.