Skip to content

Font weight does not change if set under a value of 500 #14175

Description

@motherboardMage

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

The bug:

As can be seen in the attached screen recording, Zed does not change font weight unless the values under the "ui_font_weight" or "buffer_font_weight" properties is set to a number higher than 500.

VN20240711_170257.mp4

Steps to reproduce:

  1. In the settings.json file, add "ui_font_weight" and "buffer_font_weight" properties
  2. Set one or both of them to a value less than or equal to 500. The font weight in the editor should not change.
  3. Set one or both of them to a value greater than 500. The font, as expected should become quite bold.

Environment

Zed: v0.143.6 (Zed)
OS: macOS 14.5.0
Memory: 8 GiB
Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
[Zed.log](https://github.com/user-attachments/files/16174401/Zed.log)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:editorFeedback for code editing, formatting, editor iterations, etcarea:settingsFeedback for preferences, configuration, etcarea:ui/fontFont feedback for readability, size, style, etcnever staleto keep the stalebot awayreach:some usersBugs that happen for less than one-third of users, special configurations, rare circumstances, etcseverity:S3Papercuts, minor issues with a clear non-tedious workaround, cosmetic bugsstate:needs reproNeeds reproduction steps and/or someone to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions