Comments (9)
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.
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.
I thhhink I know what this is (ascender offset) but I'd need to see it in situ to be sure.
from scribble.
Ok! I'll put together a little test project and post it here as soon as I have chance. Thanks!
from scribble.
Thank you kindly.
from scribble.
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.
Thank you for the example project. I will take a look soon.
from scribble.
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.
Fix available in 8.8.0: https://github.com/JujuAdams/Scribble/releases/tag/8.8.0
from scribble.
Related Issues (20)
- Is there a way to detect a specific character in a scribble text? HOT 1
- Scribble fails to use the default font when using a specific custom color and trying to render a specific string HOT 5
- Question / Feature Req: Arguments for effects tags HOT 1
- Text not displayed when alpha test is enabled HOT 2
- Is there a way to adjust the texts position relative to the draw origin for each alignment, per font? HOT 5
- Best way to set default line height for a font? HOT 1
- Scribble_kerning_pair_set effecting the space after the kerning pair not the space between them in 8.7.1 HOT 4
- Chance Text Shaking & Letter Spacing HOT 1
- Small typo making scribble_font_set_valign_offset() use scribble_font_set_halign_offset's settings HOT 3
- Can't get scribble method to recognize spritefont HOT 1
- In-line pin commands crashing game? HOT 2
- Question about regenerator methods. HOT 2
- Text color tag unintentionally interpreted as BGR instead of RGB in OpenGL builds. HOT 5
- Illegal use of undefined crash on dev-9 branch HOT 2
- Compile Error - Malformed Delcaration of Static HOT 5
- Latest gamemaker version has murdered Scribble in its sleep (For HTML5) HOT 2
- Embedded sprites ignore scribble_font_set_valign_offset() and scribble_font_set_halign_offset() causing misalignment with text. HOT 2
- When using brackets with typist and .sound_per_char(), sounds are still made for text that isn't there and it takes a while to show. HOT 6
- "In-line sprites cannot have more than 64 frames" warning occurs at >= 64 frames rather than >64 frames. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribble.