Git Product home page Git Product logo

Comments (5)

protesilaos avatar protesilaos commented on July 20, 2024

Try something like this:

(set-face-attribute 'org-modern-label nil :height 0.9)

from org-modern.

minad avatar minad commented on July 20, 2024

I increased the font size by default. However in my setup I still have the issue that headline labels look good if you use increased headline sizes, but dates look very compressed.

from org-modern.

protesilaos avatar protesilaos commented on July 20, 2024

I increased the font size by default. However in my setup I still have
the issue that headline labels look good if you use increased headline
sizes, but dates look very compressed.

@minad I find that the metrics of fonts do not grow linearly. You are
using standard Iosevka, right? Check these:

;; line length stays the same, but height changes
(set-face-attribute 'default nil :family "Iosevka" :height 80)
(set-face-attribute 'default nil :family "Iosevka" :height 90)

;; line length changes
(set-face-attribute 'default nil :family "Iosevka" :height 90)
(set-face-attribute 'default nil :family "Iosevka" :height 100)

Same for all fonts.

In addition, some fonts retain their width/height but adjust the shape
of the glyphs. For example:

;; same metrics but larger glyphs for the 105
(set-face-attribute 'default nil :family "Hack" :height 100)
(set-face-attribute 'default nil :family "Hack" :height 105)

So your problem may be because of this.

from org-modern.

minad avatar minad commented on July 20, 2024

No, I think the problem is that the labels/tags use a fixed :box line-width, which looks good if the line height is larger than the default line height. By compressed I didn't mean the characters but the box around the text. There is not enough padding, so it looks compressed.

from org-modern.

maikol-solis avatar maikol-solis commented on July 20, 2024

Reviewing the properties of org-modern-label I changed the width to normal. In doom, this is my config

(custom-set-faces!
  '(org-modern-label :width normal)
  '(org-modern-time-active :inherit nano-strong-i))

image

It looks much better.

from org-modern.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.