#353 Support for Retina Macbooks


Is it possible to add support for hidpi retina screens? This would be awesome.


1 2 > >> (Page 1 of 2)
  • Anonymous - 2012-11-04

    what does not work properly now ?

  • Tim Hoffmann

    Tim Hoffmann - 2012-11-04

    Likely, TXS is not rendered in high resolution (I cannot test because I don't have a RMBA).

    To our Mac packagers (and users): See here, how to enable high-resolution rendering of the application (german description)
    It'd be good, if someone with a Mac could try this out.

    Possibly we'd also have to provide higher resolution icons later. But the above would be the first step.

  • scenox

    scenox - 2012-11-22

    This method doesn't seem to work for texstudio, see this screenshot: left xcode text, right text in texstudio (zoom in if you doesn't see the difference)
    I've logged off and restarted after editing the info.plist file.

  • Tim Hoffmann

    Tim Hoffmann - 2012-11-22

    Too bad. Among the developers we don't have the possibilities to test this. So this will stay open unless someone else can work out how to achieve this.
    N.b.: I read some time ago that high-res icons are not supported at all in Qt 4.x (this should change in Qt5 though I don't remembers if it's already there in 5.0). Nevertheless high-res text should be possible somehow.

    If you want to work further on the issue, yu could try this one:
    Albeit, I suspect that it essentially modifies the info.plist.

  • scenox

    scenox - 2012-11-23

    After applying this retinize app it works now for text in the structure area and in active (currently editing) paragraphs/lines in the editing area, but not for the other text in the editing area:

  • Tim Hoffmann

    Tim Hoffmann - 2012-11-23

    you can try switching off the line cache:
    Config -> Advanced Editor -> Hacks / Workarounds:
    Uncheck "Try to autotmatically choose best display options"
    Check "Disable Cache of rendered lines"

    Could you please check what changes the retinizer applied to the plist.info (or at least provide the retinized version of it).

  • scenox

    scenox - 2012-11-23

    switching off line cache doesn't change anything, but when I change drawing mode from QCE to Qt, also the active paragraph is pixelized.

    Retinizer changes nothing in the app, only the preferences file on the client: /Users/<user>/Library/Preferences/texstudio.plist

    It adds the following key/value:
    Key: AppleMagnifiedMode
    Value: NO

    You can alternatively add the following key/value to info.plist in the app, this also works for me:
    High Resolution Capable / YES

    Here is another link: http://www.qtcentre.org/threads/50426-Using-high-res-QIcons-for-OSX-with-retina-display

    Last edit: scenox 2012-11-23
  • Benito van der Zander

    • Priority: 1 --> 5*
  • Anonymous - 2012-12-26

    The trick with editing info.plist doesn't work in 2.5.1.

    You have to add AppleMagnifiedMode NO in this file;

    Be aware that the library folder is hidden and not shown in the finder by default. As scenox said, this just works for text in active lines (active/highlighted) paragraph.

  • Anonymous - 2013-01-04

    Any progress on fixing passive text?

  • Anonymous - 2013-01-05

    TeXMaker has resolved the issue. Per their download page "(with full screen support - high resolution is partially supported (for the editor part)." I can confirm that in TeXMaker 3.5.2 all the editor text is rendered correctly. My system is rMBP OSX 10.8.2.

    • Tim Hoffmann

      Tim Hoffmann - 2013-01-05

      In that regard, Texmaker is a totally different story. While Texmaker uses a native Qt widget for the editor component, TXS uses QCodeEdit.

      • CLightfield

        CLightfield - 2013-01-05

        I know nothing about the programming, but I posted that hoping you guys might be able to glean some information from their code or something. I'm not a programmer but I'm trying to help in whatever way I can since TXS is the best LaTeX editor currently available.

  • Tim Hoffmann

    Tim Hoffmann - 2013-01-05

    In its changelog Qt 4.8.4 states to "Enable HiDPI mode for retina displays." This likely relates to the following commit:


    Has anyone tried a 4.8.4 build with a retina display yet?

    The issue of the non.active lines not being high resolution is likely caused by the way they are drawn in QCodeEdit. Since QCE2 is not maintained any longer and QCE3 still takes some time, we would have to fix that ourselves. However, since none of the developers has a Retina display, this is very difficult. We cannot test properly what the problem is.

  • scenox

    scenox - 2013-01-07

    I just tried a 4.8.4 build, unfortunately the problem is still there. however, i made an interesting observation: when switching the drawing mode from 'QCodeEdit' to 'Single Letter', the active line/paragraph was also pixelized. A switch from 'QCodeEdit' to 'QT' drawing mode didn't change anything.

    Info about the build: (TeXstudio 2.5.1 (SVN 3666)
    Nutze Qt-Version 4.8.4, kompiliert mit QT 4.8.4 D,

    Last edit: scenox 2013-01-07
  • Benito van der Zander

    Have you disable the "cache of rendered lines"? If that is disabled, there should be no difference between the active line and passive text...

    • scenox

      scenox - 2013-01-07

      for all 3 drawing modes,there is no difference if I disable 'cache of rendering lines' or not. it always looks the same:

      QCE: active line/paragraph is sharp, passive text pixelized; text colors visible
      QT; same story, but no colors (grey instead)
      Singe letter: active & passive text pixelized, no colors, just black text

      Last edit: scenox 2013-01-07
  • CLightfield

    CLightfield - 2013-01-07

    I have unchecked "automatically choose best display options" and checked "disable cache of rendered lines." For me the active text looks great but passive text is still pixelated.

    TeXstudio 2.5.1 (SVN 3484M)
    Using Qt Version 4.8.3, compiled with Qt 4.8.3 R

  • Benito van der Zander

    I think it works, if the line cache is disabled

    Only problem: You cannot disable the line cache, because I wrote 0x16
    instead of 16 ...

    Try it with r3674

    • CLightfield

      CLightfield - 2013-01-08

      I'm not sure how to compile TXS for mac, but if you can do that with r3674 I can try it out. Thanks for working on this.

  • CLightfield

    CLightfield - 2013-01-08

    TeXstudio 2.5.2 (SVN 3651M)
Using Qt Version 4.8.4, compiled with Qt 4.8.4 R
    rMBP OSX 10.8.2

    Unchecked “Try to automatically choose best display options”
    Checked “Disable fixed pitch mode”
    Checked “Disable cache of character width”
    Checked “Disable cache of rendered lines”

    Render Mode and Result:
    QCE: active good, passive pixelated.
    Qt: active good, passive pixelated.
    Single Letter: active pixelated, passive pixelated.

1 2 > >> (Page 1 of 2)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks