Re Twitter

Off topic discussion. Talk about gaming and life in general. Be awesome to each other.
User avatar
Hazelnut
Posts: 1495
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Re Twitter

Post by Hazelnut » Mon Aug 19, 2019 8:01 pm

How can I switch the SDF font back to the size it was before when it matched classic text layout? I don't like the look now and it looks very out of place with the classic image text now. Personal preference really, but also useful so I can use SDF fonts and still ensure messages are suitable for original text layouts.

User avatar
Interkarma
Posts: 4833
Joined: Sun Mar 22, 2015 1:51 am

Re: Re Twitter

Post by Interkarma » Tue Aug 20, 2019 7:47 am

Hazelnut wrote:
Mon Aug 19, 2019 8:01 pm
How can I switch the SDF font back to the size it was before when it matched classic text layout? I don't like the look now and it looks very out of place with the classic image text now. Personal preference really, but also useful so I can use SDF fonts and still ensure messages are suitable for original text layouts.
To give you a super-early example of why the new font rendering and layout support is so important, here's the book reader displaying some text after using an English > Russian translator and a font supporting Cyrillic characters.

Now because text was automatically translated, and I just copy-pasted stuff, the meaning is probably horribly mangled - but that's not the point here. The point is that Daggerfall Unity is no longer tethered to English and ASCII. All rendering and layout was completely automatic in game. This outcome simply isn't possible if every character has to somehow overlap the English equivalent of every word using Latin characters from purely ASCII inputs.

Different languages require different character sets, and they need a variable number of words to express the same concepts. This means that font support must absolutely be able to scale properly and wrap independently of language. The previous setup was simply incompatible with flexible translations and it was only ever intended to be a compromise until we got to this stage of development.

cyrillic.png
cyrillic.png (557.09 KiB) Viewed 808 times

I can't really explain just how much work has been required to get here. I've been absolutely killing myself to make this stuff possible. So no, you can't have the ugly, squishy SDF text back. :lol:

User avatar
Deepfighter
Posts: 93
Joined: Sun Mar 22, 2015 10:24 am
Location: Iliac-Bay
Contact:

Re: Re Twitter

Post by Deepfighter » Tue Aug 20, 2019 9:47 am

Interkarma wrote:
Tue Aug 20, 2019 7:47 am
I can't really explain just how much work has been required to get here. I've been absolutely killing myself to make this stuff possible. So no, you can't have the ugly, squishy SDF text back. :lol:
...and I can't really explain how thankful I am that you make it possible for us to give Daggerfall Unity a multilingual support! Just awesome! :)
Head of the German Daggerfall translation - www.daggerfalldeutsch.de
and German translator for The Elder Scrolls V: Skyrim and Lore-Expert for The Elder Scrolls: Online

User avatar
Hazelnut
Posts: 1495
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Re Twitter

Post by Hazelnut » Tue Aug 20, 2019 10:53 am

I do get what you're doing and why - I think it's amazing that DFU will have such comprehensive translation capabilities. I thought that the old SDF font might be an option, but if not possible then I'll just have to go back to classic pixellated font for dev work. It's been quite a while since I used it and I gotta say that I really miss the nice curvy text, a lot more than I thought I would. :D

BansheeXYZ
Posts: 496
Joined: Fri Oct 23, 2015 8:19 pm

Re: Re Twitter

Post by BansheeXYZ » Tue Aug 20, 2019 2:07 pm

Here's what I'm talking about with regards to text size at 1080p. This is a 610px wide text box that's the same color as the classic scroll with a very light noise&blur filter applied to it for texture. The font is a simple 11pt Tahoma bold with no font smoothing. I also changed it from yellow to black. This text is as crisp and readable as any ebook or browser app. It minimizes scrolling by using the full vertical resolution and (presumably) a scrollbar.

Open in Firefox and hit F11 to view in fullscreen.
text scroll.png
text scroll.png (832.88 KiB) Viewed 747 times
Here's 2 of old ui scrolls cleverly cropped and superimposed on each other to almost double its text area. They are at 2x scale. This isn't as good as the first option, but no one here seems to want to dump any ui gfx.
olduiscroller.png
olduiscroller.png (605.66 KiB) Viewed 747 times
Last edited by BansheeXYZ on Mon Aug 26, 2019 3:46 am, edited 1 time in total.

User avatar
TheLacus
Posts: 925
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Re Twitter

Post by TheLacus » Tue Aug 20, 2019 11:14 pm

Interkarma, i'm ready to push improvements to support for custom books but i can't read any book from bookshelves after font updates. I used to be able to assign BookShelf component to a mesh for quick testing, but now i can read titles but bookReader shows an empty window with no errors.
If you are interested in creating mods for Daggerfall Unity you can find the documentation here.

Post Reply