UI: Replace UI Font with Inter Regular v3.19 #112603

Merged
Harley Acheson merged 1 commits from Harley/blender:InterFont into main 2023-09-21 22:44:15 +02:00
Member

Replace default UI font DevaVuSans with Inter Regular v3.19


Ideally this would be done with #105441. To change the font without the BLF changes we would have too-close spacing and letters cut off if selecting slight or full hinting. Doing the BLF changes without the font will show our regular font wider than expected. Doing both gives us a new font that is rendered typographically correct.

Replace default UI font DevaVuSans with Inter Regular v3.19 --- Ideally this would be done with #105441. To change the font without the BLF changes we would have too-close spacing and letters cut off if selecting slight or full hinting. Doing the BLF changes without the font will show our regular font wider than expected. Doing both gives us a new font that is rendered typographically correct.
Harley Acheson added 1 commit 2023-09-19 22:09:36 +02:00
buildbot/vexp-code-patch-coordinator Build done. Details
5c8e392356
UI: Replace UI Font with Inter Regular v3.19
Harley Acheson added this to the User Interface project 2023-09-19 22:10:25 +02:00
Harley Acheson requested review from Brecht Van Lommel 2023-09-20 00:37:07 +02:00
Brecht Van Lommel approved these changes 2023-09-20 19:41:20 +02:00
Brecht Van Lommel left a comment
Owner

The font looks fine to me in testing.

I'm not sure if @pablovazquez ever tested this? If not might be good to try this since it is a quite significant visual change.

The font looks fine to me in testing. I'm not sure if @pablovazquez ever tested this? If not might be good to try this since it is a quite significant visual change.
Member

It does look nice and sharp, an improvement over DejaVu.

It will require testing in different displays (testing on a 14" MacBook Pro).

test

It does look nice and sharp, an improvement over DejaVu. It will require testing in different displays (testing on a 14" MacBook Pro). ![test](/attachments/fe968191-687c-4940-8933-718d2f339480)
593 KiB
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR112603) when ready.

The new font breaks some capital letters when the hinting is set to "Full" on my system.
Does not happen with the old font.

(See attached video)

The new font breaks some capital letters when the hinting is set to "Full" on my system. Does not happen with the old font. (See attached video)

This PR should be tested together with #105441, so the package build here actually is not good for testing since it misses those changes.

This PR should be tested together with #105441, so the package build here actually is not good for testing since it misses those changes.
Author
Member

The new font breaks some capital letters when the hinting is set to "Full" on my system.

Specifically this is because current code does not do hinting correctly AND the clipping is incorrect. With Full hinting the character features can be moved from their design positions in any direction, including to the left. With current code if the first character in a string is even one pixel to the left of the string starting position it will be clipped. This is something you can see now, depending on the font you choose.

#105441 allows for that possible one-pixel leftward movement. And also does hinting correctly so you don't get the big horizontal expansion you get now.

The best way to test this right now is to use #105441 and then change the UI font to Inter. in Preferences

> The new font breaks some capital letters when the hinting is set to "Full" on my system. Specifically this is because current code does not do hinting correctly AND the clipping is incorrect. With Full hinting the character features can be moved from their design positions in any direction, including to the left. With current code if the first character in a string is even one pixel to the left of the string starting position it will be clipped. This is something you can see now, depending on the font you choose. #105441 allows for that possible one-pixel leftward movement. And also does hinting correctly so you don't get the big horizontal expansion you get now. The best way to test this right now is to use #105441 and then change the UI font to [Inter.](https://fonts.google.com/specimen/Inter?query=Inter&vfonly=true) in Preferences
Harley Acheson merged commit f58f6d0338 into main 2023-09-21 22:44:15 +02:00
Harley Acheson deleted branch InterFont 2023-09-21 22:44:16 +02:00
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR112603) when ready.
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR112603) when ready.
Sign in to join this conversation.
No reviewers
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
5 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#112603
No description provided.