Note that this question continues from Is it possible to coax Visual Studio 2008 into using italics for comments?
If the long question title got you, here's the problem:
How to convert the style property of the Consolas Italic font to Bold without actually modifying any of its actual glyphs? That is, we want the font to be still the same (i.e., Italic) we merely want the OS to believe that it's now a Bold font.
Please just don't mention the name of a tool (Ex: fontforge), but describe the steps to achieve this or point to such a description.
Alright, I've successfully used FontForge to create a copy of Consolas (although this should work with any font) with the bold style actually being italics.
These are the steps that I followed:
Copy your two new ttf files into your \Windows\FONTS\ folder.
You can now have nice italic comments with Consolas in VS2008. Hooray!
I did the italics-as-bold trick on Consolas back in July 2007 and posted a screenshot of it on my blog.
I used FontLab which does a great job but a custom tool to copy and set the header would be the best bet as you can't modify and redistribute Consolas and FontLab costs $699.
If you want to go down the FontLab route the open up the regular and italic versions and go into the File > Font Info... menu option and use the Names and Copyright section.
In there set them both fonts Family Name to a new name then flip the checkboxes on the italic version to indicate bold instead of italic and select Normal from the Weight list box and Italic in the Style Name list box.
Save and install :)
[)amien
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With