Skip to content

don't scale org title #249

Description

@holtzermann17

Hello,

We've previously discussed some scaling issues with Org Mode fonts under solarized-emacs: #184

There is a work-around suggested there which doesn't solve the current problem I've spotted. The proposed work-around did solve earlier related problems, so I'll quote it here.

So setting a default font height probably solves the tiny font issue, maybe add something like this to your init el before the theme is loaded (set-face-attribute 'default nil "Somefontname-13")

Something similar is in place in my .emacs, along with the setting (setq solarized-scale-org-headlines nil).

OK, onto the current bug report. Here, even under magnification, the title text looks like a blur.

solarized-small-font

magnified

I'm on a Macbook Pro with a Retina display.

Here is a work around that solves the immediate problem. I tested against the latest version (43d250) of solarized-emacs.

diff --git a/solarized.el b/solarized.el
index fbe8795..e9d7689 100644
--- a/solarized.el
+++ b/solarized.el
@@ -1655,7 +1655,9 @@ customize the resulting theme."
      `(org-column-title ((,class (:background ,base02 :underline t :weight bold))))
      `(org-date-selected ((,class (:foreground ,red :inverse-video t))))
      `(org-document-info ((,class (:foreground ,base0))))
-     `(org-document-title ((,class (:foreground ,base1  :weight bold :height ,solarized-height-plus-4))))
+     `(org-document-title ((,class (:foreground ,base1  :weight bold
+                                                ,@(when solarized-scale-org-headlines
+                                                    (list :height ,solarized-height-plus-4))))))
      `(org-drawer ((,class (:foreground ,cyan))))
      `(org-footnote ((,class (:foreground ,magenta :underline t))))
      `(org-latex-and-export-specials ((,class (:foreground ,orange))))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions