Check-in [93241bdf3f]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Actually set the monospace font!
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:93241bdf3f34b2225584bdafe0b27689cfd15d8d
User & Date: stephanie.gawroriski 2019-06-16 04:47:25
Context
2019-06-16
04:57
Add script to convert the compiler output of anywhere to a PNG image. check-in: 2c3d6032ed user: stephanie.gawroriski tags: trunk
04:47
Actually set the monospace font! check-in: 93241bdf3f user: stephanie.gawroriski tags: trunk
04:45
Add isValid() method to SQFFont; Add note in changelog about fixed empty strings. check-in: f6d423a9ba user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to bldt/mids/txt-to-pbm/dev/shadowtail/txttopbm/Main.java.

89
90
91
92
93
94
95



96
97
98
99
100
101
102
			ps.printf("%d %d\n", iw, ih);
			
			// Create image to contain a buffer for a single line, it is not
			// important to have an entire image because we can just pipe
			// this out!
			Image image = Image.createImage(iw, fh);
			Graphics g = image.getGraphics();



			
			// RGB pixel output for lines
			int[] rgb = new int[sa];
			
			// Bulk byte data, for the fastest possible writing
			byte[] bulk = new byte[ua];
			







>
>
>







89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
			ps.printf("%d %d\n", iw, ih);
			
			// Create image to contain a buffer for a single line, it is not
			// important to have an entire image because we can just pipe
			// this out!
			Image image = Image.createImage(iw, fh);
			Graphics g = image.getGraphics();
			
			// Use the monospace font!
			g.setFont(font);
			
			// RGB pixel output for lines
			int[] rgb = new int[sa];
			
			// Bulk byte data, for the fastest possible writing
			byte[] bulk = new byte[ua];