Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [b] [i] [bi] tags to quickly change between font variants within the same family #84

Closed
TheFatBastid opened this issue Jun 27, 2020 · 1 comment
Labels
feature 💭 It would be extra good if...

Comments

@TheFatBastid
Copy link

TheFatBastid commented Jun 27, 2020

Use of bold, italics, bold italics and regular font would be handy.

GM handles each as its own font so instead of using [font name] all the time could there be a macro or something to bind a font to [b] [i] and [bi]? basically just a shortcut

Gamemaker does have a drop down for style in the font resource but ,internally, it is just separate files, not bundled in any way
so for a more auto-magic answer Scribble needs to understand some sort of connection between files, this probably can be extracted from the .yy / JSON or, if needed, forcing the user to use fnt_main and fnt_main_bold or something

@JujuAdams JujuAdams added the feature 💭 It would be extra good if... label Jun 28, 2020
@JujuAdams JujuAdams changed the title Implementation of bold, italics, and bold italics fonts. Add [b] [i] [bi] tags to quickly change between font variants within the same family Jun 28, 2020
@JujuAdams
Copy link
Owner

JujuAdams commented Jul 6, 2020

Implemented for v6.0.8. Currently available on the dev branch

A font must be added for each style, and font sizes must match. Font family and style are automatically extracted from font .yy files and no extra code is needed. Style can be switched using [r] [b] [i] [bi] (or using the full font names as normal).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💭 It would be extra good if...
Projects
None yet
Development

No branches or pull requests

2 participants