Skip to content

Instantly share code, notes, and snippets.

@MuhsinFatih
Last active May 17, 2017 16:48
Show Gist options
  • Select an option

  • Save MuhsinFatih/521e3e1f43d5faaf6a762ab0fe333140 to your computer and use it in GitHub Desktop.

Select an option

Save MuhsinFatih/521e3e1f43d5faaf6a762ab0fe333140 to your computer and use it in GitHub Desktop.

Revisions

  1. MuhsinFatih renamed this gist May 17, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion textRenderOptions.cpp → textRenderOptions.c
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@

    /*
    (.json extension doesn't mean anything. This is not a configuration file, you are supposed to apply settings below yourself)
    (.c extension doesn't mean anything. This is not a configuration file, you are supposed to apply settings below yourself)
    To use these settigns you need the 'text sharp' extension available at:
    https://marketplace.visualstudio.com/items?itemName=SergeyVlasov.TextSharp
  2. MuhsinFatih renamed this gist May 17, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. MuhsinFatih renamed this gist May 17, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion textRenderOptions.css → textRenderOptions.json
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@

    /*
    (.css extension doesn't mean anything. This is not a configuration file, you are supposed to apply settings below yourself)
    (.json extension doesn't mean anything. This is not a configuration file, you are supposed to apply settings below yourself)
    To use these settigns you need the 'text sharp' extension available at:
    https://marketplace.visualstudio.com/items?itemName=SergeyVlasov.TextSharp

  4. MuhsinFatih created this gist May 17, 2017.
    21 changes: 21 additions & 0 deletions textRenderOptions.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@

    /*
    (.css extension doesn't mean anything. This is not a configuration file, you are supposed to apply settings below yourself)
    To use these settigns you need the 'text sharp' extension available at:
    https://marketplace.visualstudio.com/items?itemName=SergeyVlasov.TextSharp
    If this doesn't work for you, I suggest you upgrade to visual studio 2017 (after preview).
    After this version and following configuration the text is rendered like the rest of the OS,
    with proper thickness and beautiful rendering. imo it is just like xcode now
    */

    /* Install the extension and go to [settings -> text sharp] */
    Text rendering mode: ClearType
    Text formatting mode: Ideal
    Text hinting mode: Animated
    Targets: [Main window, Text views]

    /* now go to [settings -> Environment -> Fonts and Colors] */
    Font: consolas
    Font size: 9
    Bold: uncheck