-
Notifications
You must be signed in to change notification settings - Fork 115
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
Console Sizing Issues #296
Comments
Digging backwards in the commits, the problem starts whenever Scalar2 was introduced 4b47507 |
I'm wondering if your initialization is actually what you want to do? Using the let context = BTermBuilder::new()
.with_font("terminal8x8.png", 8, 8)
.with_fancy_console(80, 50, "terminal8x8.png")
.with_tile_dimensions(12, 12)
.build()?; With that said, if you want a 12x12 - I'd recommend grabbing a font of that size. There are some great ones here: https://dwarffortresswiki.org/Tileset_repository#12.C3.9712 |
Interesting. I believe it mainly happens with the horizontal bar. I updated the example to just draw a bar across the screen. That being said, if I use a 12x12 font, the tearing seems to not happen. I should also note using the 8x8 font, and then forcing the tile_size to (16,16) doesn't cause tearing either. So I guess its the 1.5x difference for the 8x8 font which causes some weird scaling issues https://github.com/lecoqjacob/bracket-lib/tree/tearing-issue |
That makes sense. Sorry for the lack of replies, I set aside time this week
- and the whole family is out sick. :-(
I'm now trying to clear up a big chunk of next week for bracket-lib.
…On Tue, Sep 27, 2022 at 11:47 AM Jacob LeCoq ***@***.***> wrote:
Digging backwards in the commits, the problem starts whenever Scalar2 was
introduced 4b47507
<4b47507>
—
Reply to this email directly, view it on GitHub
<#296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADRU436Q3BBRNBT4YXJZTBTWAMQJJANCNFSM6AAAAAAQWILDEQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Oh no problem! Family comes first. I'll close this issue as it seems it can be resolved with choosing an appropriate font size |
I'm trying to figure out if I'm crazy, or if there is a bug within bracket lib. I creates an 80x50 simple console and populated it with a floor and some mountain ranges (just using 'n' char), but the console seems extremely small.
i wanted the window to be around 960x720 for better readability, but if I increase the console size, it only changes how many pixels are drawn.
This is 120x90 console.
Im on a m1 mac and these are my specs.
The text was updated successfully, but these errors were encountered: