I have noticed that bold and italic styles are ignored for certain fonts. After reading various bits and pieces about how Sublime handles fonts, I am still confused. I would like to use Droid Sans Mono but when I switch to it, the bold and italic styles which worked fine with Consolas, Meslo, etc, are ignored. Any ideas?
Bold & italic not working with Droid Sans Mono
I thought I knew the answer to this question to be yes, but Iâm less sure know. Droid Sans Mono comes in a single .ttf file but all applications except ST can output bold & italic. Does this mean that whatever Linux uses for font rendering does this on the fly?
Edit: Yes that seems to be the case. Droid Sans Mono does not provide bold and italic.
[quote=âquodlibetâ]I thought I knew the answer to this question to be yes, but Iâm less sure know. Droid Sans Mono comes in a single .ttf file but all applications except ST can output bold & italic. Does this mean that whatever Linux uses for font rendering does this on the fly?
Edit: Yes that seems to be the case. Droid Sans Mono does not provide bold and italic.[/quote]
Itâs possible to âconvertâ a plain typeface to a slanted one or to a thicker one, but to purists, neither is acceptable. Only a properly designed italic or bold typeface will do.
That is, applications that output bold & italic from a font family that doesnât include them are faking it. The fake may look reasonable, but it doesnât reflect the esthetics of the underlying typeface. That may be acceptable for some uses, including, perhaps, displaying text in an editor.
Hmm, is there a hint of disapproval in what Iâve just said?
Yes, there is
I actually understand a sufficient amount about typography to balk at faked weight and styles, so I wouldnât want to go down this road even if it was available. I just wasnât being attentive.
Itâs a typographic concern that led me to this trouble in the first place. I was looking for a monospace typeface with a Greek that works well for long texts. I do all my writing in text editors, Sublime most recently, and the Greek glyphs of most monospace faces seem to me to be derived from math symbols rather than written letters.
Iâve been switching between Consolas and Meslo but I have various niggles with both of these. Oh, well.
I rather like the Greek of Droid, so Iâll stick to it; it may turn out that the absence of bold & italic is less of a deal breaker than I think it is.
Unless anyone has a monospace font with excellent Greek to suggestâŚ
Out of curiosity, is one of the problems you see with Meslo the left indentation (or tab stops)? I indent with two spaces as my tabs (no tabs allowed) and I find that the left side of my text does not line up with the guidelines that are shown at the proper two space indentation. Very strange.
[quote=âSeanWcomâ]
Out of curiosity, is one of the problems you see with Meslo the left indentation (or tab stops)? I indent with two spaces as my tabs (no tabs allowed) and I find that the left side of my text does not line up with the guidelines that are shown at the proper two space indentation. Very strange.[/quote]
My issue with Consolas and Meslo is that their Greek glyphs are too quirky or decorative, respectively. Nothing to do with sublime, Iâm afraid.
On the other hand, your description seems to indicate that Sublime doesnât render Meslo properly. I had a look at Meslo indented by two spaces and I donât see any problems; but perhaps I donât understand what you are referring to. Can you provide a screenshot?
Sure - Iâll do one better. Hereâs a quick screencast. You may have to pause to read my text⌠Jing only allows a few minutes in the free client.
I see what you mean, but I canât replicate the behavior on Ubuntu, ST build 2190.
Meslo LG M DZ at size 9 looks just fine:
http://i.minus.com/jVPTKAx83GN6C.png
I donât have any other operating systems lying around at the moment, but I can try it out on a Windows computer tomorrow.
In the meantime, have you tried reverting (http://www.sublimetext.com/docs/2/revert.html)? This will let you know if any plugins are causing this.
P.S. I laughed when Sublime auto-paired your sad smiley at the end
Haha, yeah the autocomplete smily is funny.
I just reverted to test things out and the same problem is there. This is far from a deal killer for me. There are lots of good programming fonts out there. I just wanted to bring it up in case it did turn out to be a Sublime issue.
Your screenshot makes me want to build up an Ubuntu partition - something about the font rendering makes me a happy coder. lolâŚ
Unfortunately I canât verify your issue on XP, either:
http://i.minus.com/jmvQ6h3BKDBfH.png
The other thing Iâd try (in the âturn it off and on againâ vein of troubleshooting) would be to remove Meslo, download it again from github.com/andreberg/Meslo-Font and re-install it. The reason I mention this bit of paranoia is that I seem to recall there were various forks of Meslo floating around at some point and maybe youâre using one them?
It may also make sense to start a fresh thread. As my issue was resolved a few posts up, there may not be enough eyes reading all the way through.
As for Windowsâ font rendering, yes, it stinks. As a habitual typophile and occasional web designer, it drives me up the wall. One thing that almost always improves even poorly rendered fonts is white space, I donât know how I used to live before sublime added the line_padding options.
Actually, it does look like itâs messed up in your screenshot. Notice the quote mark on âsadâ doesnât appear to be two spaces from that guideline? Do some more indenting and see what it looks like. Hereâs an image to check out as well:
http://i.minus.com/ikstWr8X0VMCP.JPG
On the left, size 10. On the right, size 9 (and I added some padding after seeing your screenshots). You can really see how the guidelines slowly shift (or rather the text does) the more you indent. I think that is happening in your XP screenshot.
I was thinking that it must be a font issue at that size in Windows (rather than an ST2 display problem), but I downloaded Notepad++ to see if I could recreate the issue, and it displays fine there⌠(booo)
Iâll create a new thread and see if others have ideas. Thanks for your help in testing!
UPDATE: I created that new thread, so we can move any other conversation about it over here: viewtopic.php?f=3&t=6957