| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,6 @@ | |||
| 46 | 46 | import javax.swing.text.Segment; | |
| 47 | 47 | import javax.swing.text.Utilities; | |
| 48 | 48 | ||
| 49 | - import processing.app.Messages; | ||
| 50 | 49 | import processing.app.Mode; | |
| 51 | 50 | import processing.app.SketchCode; | |
| 52 | 51 | import processing.app.syntax.SyntaxDocument; | |
@@ -183,6 +182,8 @@ protected void paintLeftGutter(Graphics gfx, int line, int x) { | |||
| 183 | 182 | //text = makeOSF(String.valueOf(line + 1)); | |
| 184 | 183 | ||
| 185 | 184 | gfx.setFont(gutterTextFont); | |
| 185 | + // ((Graphics2D) gfx).setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, | ||
| 186 | + // RenderingHints.VALUE_TEXT_ANTIALIAS_OFF); | ||
| 186 | 187 | // Right-align the text | |
| 187 | 188 | char[] txt = text.toCharArray(); | |
| 188 | 189 | int tx = textRight - gfx.getFontMetrics().charsWidth(txt, 0, txt.length); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 0252 (3.1.3?) | |
| 2 | 2 | _ modify line number color when no lines extend that far? | |
| 3 | 3 | _ https://github.com/processing/processing/pull/4560 | |
| 4 | + _ text gutter doesn't seem to be hidpi | ||
| 5 | + X or is it b/c screen not quite 2x? (nope) | ||
| 4 | 6 | _ swap out the fonts? | |
| 5 | 7 | ||
| 6 | 8 | contrib | |
| Back | FazBrowse Home | New Git URL |
0 commit comments