<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — AppGraphics Bug or]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=475&amp;type=atom" />
	<updated>2015-07-21T00:33:59Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=475</id>
		<entry>
			<title type="html"><![CDATA[Re: AppGraphics Bug or]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2146#p2146" />
			<content type="html"><![CDATA[<p>Frank,</p><p>I&#039;ll have to look into the problem.&nbsp; It&#039;s probably not a true underline, but, rather, a graphical artifact.&nbsp; To create vertical text, AppGraphics currently outputs the text to an internal buffer and copies the result, pixel by pixel, transformed, back to the actual drawing surface.&nbsp; It&#039;s probably picking up some white somehow from the internal buffer.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-07-21T00:33:59Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2146#p2146</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AppGraphics Bug or]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2145#p2145" />
			<content type="html"><![CDATA[<p>Hi Jeff,</p><p>Thank you for taking the time to revise AppGraphics vertical font Settextstyle command.</p><p>The Call Settextstyle( ) command now displays text in the vertical position.</p><p>However, several of the fonts are displayed vertically but &quot;underlined&quot; when they should not be underlined.</p><p>For example,</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !-------------------------------------------------------<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !--- Y-axis lable of graph<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !call settextstyle (DEFAULT_FONT, VERT_DIR, 20)&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;!--- Vertical Text is underlined<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !call settextstyle (MONOSPACE_FONT, VERT_DIR, 18)&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;!---&nbsp; Vertical Text is normal<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !call settextstyle (BOLD_SANS_SERIF_FONT, VERT_DIR, 18)&nbsp; &nbsp; !---&nbsp; Vertical Text is normal<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !call settextstyle (BOLD_SANS_SERIF_FONT, VERT_DIR, 20)&nbsp; &nbsp; !---&nbsp; Vertical Text is underlined<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !call settextstyle (SERIF_FONT, VERT_DIR, 18)&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;!---&nbsp; Vertical Text is underlined<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call settextstyle (SANS_SERIF_FONT, VERT_DIR, 18)&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;!---&nbsp; Vertical Text is underlined<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xlable = &quot;Y-value&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tw = textwidth( TRIM(xlable) )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; call outtextxy( (w/30), INT(real(h/2))-tw, TRIM(xlable) )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !-------------------------------------------------------</p><p>The MONOSPACE_FONT correctly displays the text in the vertical position without being underlined.</p><p>But the BOLD_SANS_SERIF_FONT only displays the text correctly (not underlined) using FONT-18 and not FONT-20.</p><p>Frank</p>]]></content>
			<author>
				<name><![CDATA[drfrank]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=223</uri>
			</author>
			<updated>2015-07-20T22:12:55Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2145#p2145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AppGraphics Bug or]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2144#p2144" />
			<content type="html"><![CDATA[<p>Frank,</p><p>There is now a bugfix build of Simply Fortran 2.24 (1921) that is available on the <a href="http://simplyfortran.com/download/">Download page</a>.&nbsp; Vertical text now works properly in AppGraphics.</p><p>In regards to arbitrary angles of text, I think that feature makes sense.&nbsp; No promise on a time frame.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-07-20T12:02:02Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2144#p2144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AppGraphics Bug or]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2143#p2143" />
			<content type="html"><![CDATA[<p>Hi Jeff,</p><p>Thanks, I appreciate that you&#039;re working to find a fix that will allow AppGraphics to rotate text (whichever font you choose).</p><p>If your more general fix works, an added feature might include the capability to rotate the text at any angle, and not just vertically.&nbsp; Obviously, this added feature is not expected to be a high priority, but it would be a nice addition to the horizontal and vertical text capability.</p><p>Thanks again, I look forward to the vertical font fix when it becomes available.</p><p>Frank</p>]]></content>
			<author>
				<name><![CDATA[drfrank]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=223</uri>
			</author>
			<updated>2015-07-15T22:03:04Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2143#p2143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AppGraphics Bug or]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2142#p2142" />
			<content type="html"><![CDATA[<p>Frank,</p><p>I haven&#039;t forgotten about this issue.&nbsp; The problem stems from the simplistic way that AppGraphics was attempting to create vertical text.&nbsp; Specifically, it was asking Windows to rotate the characters, which just isn&#039;t supported on many fonts.&nbsp; I&#039;m working on a more general fix, but it has been problematic thus far.&nbsp; I would expect a new build containing the fix to be available sometime this week or next.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-07-15T11:50:45Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2142#p2142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AppGraphics Bug or]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2129#p2129" />
			<content type="html"><![CDATA[<p>Frank,</p><p>Vertical text is not currently working.&nbsp; &nbsp;I&#039;m looking into it now.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-06-23T14:13:40Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2129#p2129</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AppGraphics Bug or]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=2128#p2128" />
			<content type="html"><![CDATA[<p>Hi Jeff,</p><p>I&#039;m having difficulty displaying text in the vertical direction using AppGraphics.</p><p>Using the following AppGraphics commands and three different fonts, I&#039;ve been unsuccessful to display text in the vertical position (-90 degrees from horizontal).&nbsp; For example, a y-axis ordinate label.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; w = getmaxx ( )<br />&nbsp; &nbsp; &nbsp; &nbsp; h = getmaxy ( )</p><p>&nbsp; &nbsp; &nbsp; &nbsp; call settextstyle (DEFAULT_FONT, VERT_DIR, 18)<br />&nbsp; &nbsp; &nbsp; &nbsp; INFO = &quot;VERTICAL TEXT-1&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; tw = textwidth( TRIM(INFO) )<br />&nbsp; &nbsp; &nbsp; &nbsp; call outtextxy( (w/2-300), INT(real(h/2-2*tw/3)), TRIM(INFO) )</p><p>&nbsp; &nbsp; &nbsp; &nbsp; call settextstyle (SANS_SERIF_FONT, VERT_DIR, 18)<br />&nbsp; &nbsp; &nbsp; &nbsp; INFO = &quot;VERTICAL TEXT-2&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; call outtextxy( (w/2-250), INT(real(h/2-2*tw/2)), TRIM(INFO) )</p><p>&nbsp; &nbsp; &nbsp; &nbsp; call settextstyle (WINDOWS_FONT, VERT_DIR, 18)<br />&nbsp; &nbsp; &nbsp; &nbsp; INFO = &quot;VERTICAL TEXT-3&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; call outtextxy( (w/2-200), INT(real(h/2-2*tw/1)), TRIM(INFO) )</p><p>I don&#039;t claim to fully understand the use of all AppGraphics drawing commands, but displaying text vertically should be fairly straight forward.&nbsp; </p><p>What am I missing?&nbsp; &nbsp;Or is this an AppGraphics bug?</p><p>Frank</p>]]></content>
			<author>
				<name><![CDATA[drfrank]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=223</uri>
			</author>
			<updated>2015-06-18T23:41:16Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=2128#p2128</id>
		</entry>
</feed>
