<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Codec &#187; system</title>
	<atom:link href="http://www.trembl.org/codec/tag/system/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trembl.org/codec</link>
	<description>A Personal Polylogic Code/Decode &#039;Zettelkasten&#039;</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fonts on the iPhone</title>
		<link>http://www.trembl.org/codec/591/</link>
		<comments>http://www.trembl.org/codec/591/#comments</comments>
		<pubDate>Mon, 17 May 2010 08:41:49 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[UIFont]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/591/</guid>
		<description><![CDATA[I never seen to be able to remember the fonts available on the iPhone. Here&#8217;s the code to print out all font families and font styles. for &#40;NSString *familyName in &#91;UIFont familyNames&#93;&#41; &#123; NSLog&#40;@&#34;%@, %@&#34;, familyName, &#91;UIFont fontNamesForFamilyName:familyName&#93;&#41;; &#125; And here is the current result: 2010-05-17 17:38:05.931 fonts[20843:207] AppleGothic, ( AppleGothic ) 2010-05-17 17:38:05.932 fonts[20843:207] [...]]]></description>
			<content:encoded><![CDATA[<p>I never seen to be able to remember the fonts available on the iPhone. Here&#8217;s the code to print out all font families and font styles.</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #a61390;">for</span> <span style="color: #002200;">&#40;</span><span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>familyName <span style="color: #a61390;">in</span> <span style="color: #002200;">&#91;</span>UIFont familyNames<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>
	NSLog<span style="color: #002200;">&#40;</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;%@, %@&quot;</span>, familyName, <span style="color: #002200;">&#91;</span>UIFont fontNamesForFamilyName<span style="color: #002200;">:</span>familyName<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>;
<span style="color: #002200;">&#125;</span></pre></div></div>

<p>And here is the current result:</p>
<pre>
2010-05-17 17:38:05.931 fonts[20843:207] AppleGothic, (
    AppleGothic
)
2010-05-17 17:38:05.932 fonts[20843:207] Hiragino Kaku Gothic ProN, (
    "HiraKakuProN-W6",
    "HiraKakuProN-W3"
)
2010-05-17 17:38:05.932 fonts[20843:207] Arial Unicode MS, (
    ArialUnicodeMS
)
2010-05-17 17:38:05.932 fonts[20843:207] Heiti K, (
    "STHeitiK-Medium",
    "STHeitiK-Light"
)
2010-05-17 17:38:05.932 fonts[20843:207] DB LCD Temp, (
    DBLCDTempBlack
)
2010-05-17 17:38:05.932 fonts[20843:207] Helvetica, (
    "Helvetica-Oblique",
    "Helvetica-BoldOblique",
    Helvetica,
    "Helvetica-Bold"
)
2010-05-17 17:38:05.932 fonts[20843:207] Marker Felt, (
    "MarkerFelt-Thin"
)
2010-05-17 17:38:05.933 fonts[20843:207] Times New Roman, (
    TimesNewRomanPSMT,
    "TimesNewRomanPS-BoldMT",
    "TimesNewRomanPS-BoldItalicMT",
    "TimesNewRomanPS-ItalicMT"
)
2010-05-17 17:38:05.933 fonts[20843:207] Verdana, (
    "Verdana-Bold",
    "Verdana-BoldItalic",
    Verdana,
    "Verdana-Italic"
)
2010-05-17 17:38:05.933 fonts[20843:207] Georgia, (
    "Georgia-Bold",
    Georgia,
    "Georgia-BoldItalic",
    "Georgia-Italic"
)
2010-05-17 17:38:05.933 fonts[20843:207] Arial Rounded MT Bold, (
    ArialRoundedMTBold
)
2010-05-17 17:38:05.933 fonts[20843:207] Trebuchet MS, (
    "TrebuchetMS-Italic",
    TrebuchetMS,
    "Trebuchet-BoldItalic",
    "TrebuchetMS-Bold"
)
2010-05-17 17:38:05.933 fonts[20843:207] Heiti TC, (
    "STHeitiTC-Light",
    "STHeitiTC-Medium"
)
2010-05-17 17:38:05.933 fonts[20843:207] Geeza Pro, (
    "GeezaPro-Bold",
    GeezaPro
)
2010-05-17 17:38:05.934 fonts[20843:207] Courier, (
    Courier,
    "Courier-BoldOblique",
    "Courier-Oblique",
    "Courier-Bold"
)
2010-05-17 17:38:05.934 fonts[20843:207] Arial, (
    ArialMT,
    "Arial-BoldMT",
    "Arial-BoldItalicMT",
    "Arial-ItalicMT"
)
2010-05-17 17:38:05.934 fonts[20843:207] Heiti J, (
    "STHeitiJ-Medium",
    "STHeitiJ-Light"
)
2010-05-17 17:38:05.934 fonts[20843:207] Arial Hebrew, (
    ArialHebrew,
    "ArialHebrew-Bold"
)
2010-05-17 17:38:05.934 fonts[20843:207] Courier New, (
    "CourierNewPS-BoldMT",
    "CourierNewPS-ItalicMT",
    "CourierNewPS-BoldItalicMT",
    CourierNewPSMT
)
2010-05-17 17:38:05.934 fonts[20843:207] Zapfino, (
    Zapfino
)
2010-05-17 17:38:05.934 fonts[20843:207] American Typewriter, (
    AmericanTypewriter,
    "AmericanTypewriter-Bold"
)
2010-05-17 17:38:05.935 fonts[20843:207] Heiti SC, (
    "STHeitiSC-Medium",
    "STHeitiSC-Light"
)
2010-05-17 17:38:05.935 fonts[20843:207] Helvetica Neue, (
    HelveticaNeue,
    "HelveticaNeue-Bold"
)
2010-05-17 17:38:05.935 fonts[20843:207] Thonburi, (
    "Thonburi-Bold",
    Thonburi
)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/591/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling ImageMagick from PHP</title>
		<link>http://www.trembl.org/codec/85/</link>
		<comments>http://www.trembl.org/codec/85/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 11:20:39 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=85</guid>
		<description><![CDATA[Getting ImageMagick to work by calling system() in PHP turned out to be more troublesome that originally assumed. Of course, Safe-Mode has be off, the dirs need to have the appropriate permission, and the absolute paths to &#8216;convert&#8217; and your files should be set. But still, it would not work. Despite executing directly in the [...]]]></description>
			<content:encoded><![CDATA[<p>Getting ImageMagick to work by calling system() in PHP turned out to be more troublesome that originally assumed. Of course, Safe-Mode has be off, the dirs need to have the appropriate permission, and the absolute paths to &#8216;convert&#8217; and your files should be set.</p>
<p>But still, it would not work. Despite executing directly in the shell quite nicely. The revelation came late, but better than never:</p>
<p><strong>IM apparently hate single quote &#8216; &#8216;, and absolutely insists on double quotes &#8221; &#8221; to wrap it&#8217;s arguments in.</strong></p>
<p>Can not really say, that this is well thought out&#8230; Anyways&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/85/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

