deja vu sans stretched with new 4.0 renderer #115584

Closed
opened 2023-11-29 21:16:37 +01:00 by Tobiáš · 1 comment

System Information
Operating system: Windows 10
Graphics card: RTX 3060

Blender Version
Broken: 4.0, 4.0.1
Worked: 3.6.6

Short description of error
Deja vu sans was replaced with new font in 4.0 (#112603). to accomodate the new font, there is also a new renderer, which is needed to make the characters of the font not too close together. However, when you override the new font with the old font, the characters are too far away due to the changes in the renderer (#105441).
adding comparison of the deja vu sans being rendered correctly in 2.93 and 3.6.5, but incorrectly in 4.0.1
Expected result
Both the new font and the old font should be rendered correctly, no matter what font you select

Exact steps for others to reproduce the error
Open blender 4
Go to Preferences, and in interface tab scroll down to text rendering
disable subpixel AA and set hinting to none
change interface font to deja vu sans from old blender install (DejaVuSans.woff2)
Blender now uses the old font, but the font is rendered too wide

**System Information** Operating system: Windows 10 Graphics card: RTX 3060 **Blender Version** Broken: 4.0, 4.0.1 Worked: 3.6.6 **Short description of error** Deja vu sans was replaced with new font in 4.0 (#112603). to accomodate the new font, there is also a new renderer, which is needed to make the characters of the font not too close together. However, when you override the new font with the old font, the characters are too far away due to the changes in the renderer (#105441). adding comparison of the deja vu sans being rendered correctly in 2.93 and 3.6.5, but incorrectly in 4.0.1 **Expected result** Both the new font and the old font should be rendered correctly, no matter what font you select **Exact steps for others to reproduce the error** Open blender 4 Go to Preferences, and in interface tab scroll down to text rendering disable subpixel AA and set hinting to none change interface font to deja vu sans from old blender install (DejaVuSans.woff2) Blender now uses the old font, but the font is rendered too wide
Tobiáš added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-11-29 21:16:38 +01:00
Member

Yes, this is unfortunately expected behavior. The old text placement was in error and was corrected, which therefore looks different than old behavior when using the old font.

The old behavior of our text output placed characters one half pixel closer than expected by their design. This error was unscaled, so the difference was less apparent as you increased the font size. As in being out half a pixel at 36 point was less noticeable than when at 11 point. But even this was a separate problem in that making a text string twice the font size did not result in a string that was twice as long. This sort of thing can be a problem for an interface that is meant to be scalable.

This has been corrected and we are now attempting to size, render, and place characters as close to typographically perfect as possible. This naturally makes our old font look half a pixel looser than we are used to. And that is one of (the many) reasons we changed our main font since it is a little tighter than Deja Vu Sans.

My best advice is to just select any font that you like the best and select a size and rendering options that you prefer. But we can't make the old font look like it used to, unfortunately.

Yes, this is unfortunately expected behavior. The old text placement was in error and was corrected, which therefore looks different than old behavior when using the old font. The old behavior of our text output placed characters one half pixel closer than expected by their design. This error was unscaled, so the difference was less apparent as you increased the font size. As in being out half a pixel at 36 point was less noticeable than when at 11 point. But even this was a separate problem in that making a text string twice the font size did not result in a string that was twice as long. This sort of thing can be a problem for an interface that is meant to be scalable. This has been corrected and we are now attempting to size, render, and place characters as close to typographically perfect as possible. This naturally makes our old font look half a pixel looser than we are used to. And that is one of (the many) reasons we changed our main font since it is a little tighter than Deja Vu Sans. My best advice is to just select any font that you like the best and select a size and rendering options that you prefer. But we can't make the old font look like it used to, unfortunately.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-12-01 17:53:52 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#115584
No description provided.