<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: t_jgraphics_font_extents</title>
		<atom:link href="http://cycling74.com/forums/topic/t_jgraphics_font_extents/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/t_jgraphics_font_extents/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 14:52:31 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/t_jgraphics_font_extents/#post-53623</guid>
					<title><![CDATA[t_jgraphics_font_extents]]></title>
					<link>http://cycling74.com/forums/topic/t_jgraphics_font_extents/#post-53623</link>
					<pubDate>Mon, 29 Nov 2010 22:03:11 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Would someone who knows care to explain how the components of the t_jgraphics_font_extents structure work together? </p>
<p>I&#8217;m porting some oldish QD code that uses the FontInfo data structure, which had ascent, descent, leading, and a value for the maximum width of a single character. All of which are used in my code.</p>
<p>The ascent and descent of t_jgraphics_font_extents are clear (hopefully). Is the height component effectively the sum of ascent+descent+leading (in which case I can calculate leading with simple arithmetic)? Or does the Cairo/JUCE/Cycling74 font model even include a notion of leading? </p>
<p>The max_x_advance is listed as &#8220;not valid&#8221;. Which leaves me with the question of how to determine the maximum character width in a given font. Any suggestions?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/t_jgraphics_font_extents/#post-192802</guid>
					<title><![CDATA[Re: t_jgraphics_font_extents]]></title>
					<link>http://cycling74.com/forums/topic/t_jgraphics_font_extents/#post-192802</link>
					<pubDate>Mon, 29 Nov 2010 22:11:21 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Sigh, should have read about cairo_font_extents_t in the Cairo documentation, which answers the first part of my question (if anyone else is interested, yes: leading = height &#8211; ascent &#8211; descent).</p>
<p>But leaves me wondering why max_x_advance isn&#8217;t &#8220;valid&#8221; and how to work around the invalidity.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

