<?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>F2IBuilder</title>
	<atom:link href="http://f2ibuilder.dukitan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://f2ibuilder.dukitan.com</link>
	<description>Font to Image Builder</description>
	<lastBuildDate>Wed, 01 Jun 2011 22:39:04 +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>v3.10</title>
		<link>http://f2ibuilder.dukitan.com/2011/06/01/v3-10/</link>
		<comments>http://f2ibuilder.dukitan.com/2011/06/01/v3-10/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 22:39:04 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[ChangeLog]]></category>

		<guid isPermaLink="false">http://f2ibuilder.dukitan.com/?p=172</guid>
		<description><![CDATA[Version: 3.10 Date: 22/05/2011 Log: Adding support textures up to 4096 pixels (Requirement by Jamie Woodhouse); Fixing the build to encode iso8859;]]></description>
			<content:encoded><![CDATA[<div>
<div>
<h3>Version:</h3>
<p>3.10</p>
<h3>Date:</h3>
<p>22/05/2011</p>
<h3>Log:</h3>
<ul>
<li> Adding support textures up to 4096 pixels (Requirement by Jamie Woodhouse);</li>
<li>Fixing the build to encode iso8859;</li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2011/06/01/v3-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial</title>
		<link>http://f2ibuilder.dukitan.com/2011/05/29/video-tutorial/</link>
		<comments>http://f2ibuilder.dukitan.com/2011/05/29/video-tutorial/#comments</comments>
		<pubDate>Sun, 29 May 2011 22:36:02 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[Example]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=55</guid>
		<description><![CDATA[Using F2IBuilder in their applications.]]></description>
			<content:encoded><![CDATA[<p>Using F2IBuilder in their applications.</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/CdV04IzJlik&amp;rel=1" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/CdV04IzJlik&amp;rel=1" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2011/05/29/video-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SDL Example</title>
		<link>http://f2ibuilder.dukitan.com/2011/05/29/sdl-example/</link>
		<comments>http://f2ibuilder.dukitan.com/2011/05/29/sdl-example/#comments</comments>
		<pubDate>Sun, 29 May 2011 22:32:26 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[Example]]></category>
		<category><![CDATA[Language C]]></category>
		<category><![CDATA[SDL]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=53</guid>
		<description><![CDATA[/* * F2IBuilder - Font to Image Builder * Example with SDL - Loading fonts generated for F2IBuilder * Exemplo com SDL - Carregando fontes geradas pelo F2IBuilder */ #include &#60;cstdlib&#62; #include &#60;string&#62; #include &#60;cstdarg&#62; #include &#60;SDL/SDL.h&#62; #include &#60;SDL/SDL_image.h&#62; Uint8* pTecla = NULL; SDL_Surface* tela = NULL; struct FonteBitmap { SDL_Surface* imagem; char largura[256]; SDL_Rect <a href='http://f2ibuilder.dukitan.com/2011/05/29/sdl-example/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<pre>/*
 * F2IBuilder - Font to Image Builder
 * Example with SDL - Loading fonts generated for F2IBuilder
 * Exemplo com SDL - Carregando fontes geradas pelo F2IBuilder
*/</pre>
<p><span id="more-53"></span></p>
<pre>#include &lt;cstdlib&gt;
#include &lt;string&gt;
#include &lt;cstdarg&gt;
#include &lt;SDL/SDL.h&gt;
#include &lt;SDL/SDL_image.h&gt;

Uint8* pTecla = NULL;
SDL_Surface* tela = NULL;

struct FonteBitmap
{
   SDL_Surface* imagem;
   char largura[256];
   SDL_Rect area;
};

void <strong>iniciarSDL</strong>(std::string titulo)
{
   if (SDL_Init(SDL_INIT_VIDEO) &lt; 0) {
       printf("Nao foi possivel inicializar SDL %s",SDL_GetError());
       exit(-1);
   } else {
       tela=SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE);
       if (tela) {
           SDL_WM_SetCaption(titulo.c_str(),NULL);
       } else {
           printf("Couldn't set 640x480 video mode: %s\n",SDL_GetError());
           exit(-2);
       }
   }
}

void <strong>finalizarSDL</strong>()
{
    SDL_Quit();
}

void <strong>atualizarInput</strong>()
{
    static SDL_Event event;
    SDL_PollEvent(&amp;event);
    pTecla = SDL_GetKeyState(NULL);
}

bool <strong>tecla</strong>(SDLKey tecla)
{
    if (pTecla[tecla]){
        return true;
    } else {
        return false;
    }
}

void <strong>carregarFonte</strong>(FonteBitmap* fonte,std::string arquivo)
{
    FILE *arquivoFonte;
    fonte-&gt;imagem = IMG_Load(arquivo.c_str());
    std::string txt=""; 

    if(fonte!=NULL){
        txt=arquivo.substr(0,arquivo.length()-4);
        txt+=".dat";
        arquivoFonte = fopen(txt.c_str(),"rb");
        if (arquivoFonte!=NULL){
            fread(&amp;fonte-&gt;largura, 256, 1, arquivoFonte);
            fclose(arquivoFonte);
        } else {
            for (int l=0;l&lt;256;l++){
                fonte-&gt;largura[l] = fonte-&gt;imagem-&gt;w/16;
            }
        }
        fonte-&gt;area.w=fonte-&gt;imagem-&gt;w/16;
        fonte-&gt;area.h=fonte-&gt;imagem-&gt;h/16;
    }
}

void <strong>descarregarFonte</strong>(FonteBitmap* fonte)
{
    if (fonte-&gt;imagem){
        SDL_FreeSurface(fonte-&gt;imagem);
    }
}

void <strong>escreverFonte</strong>(FonteBitmap* fonte, int X, int Y, const char* PALAVRA)
{
    int i,t=strlen(PALAVRA);
    unsigned char l;

    SDL_Rect posicao;
    SDL_Rect tamanho; 

    posicao.x=X;
    posicao.y=Y;

    for (i=0; i&lt;t; i++){
        l=PALAVRA[i];
        tamanho.x=(l%16)*fonte-&gt;area.w; tamanho.w=fonte-&gt;largura[l];
        tamanho.y=(l/16)*fonte-&gt;area.h; tamanho.h=fonte-&gt;area.h;
        SDL_BlitSurface(fonte-&gt;imagem, &amp;tamanho , tela, &amp;posicao);
        posicao.y=Y;
        posicao.x=posicao.x+fonte-&gt;largura[l];
    }
}

void <strong>escreverFonteMelhorada</strong>(FonteBitmap* fonte, int X, int Y, const char* TEXTO, ...)
{
    char texto_aux[256];
    va_list ap;
    va_start(ap, TEXTO);
    vsprintf(texto_aux, TEXTO, ap);
    va_end(ap);
    escreverFonte(fonte,X,Y,texto_aux);
}

int <strong>main</strong>(int argc, char *argv[])
{
    bool continuarLoop = true;
    iniciarSDL("F2IBuilder - Exemplo C++");
    FonteBitmap fonteBitmap;

    carregarFonte(&amp;fonteBitmap,"fonte.png");

    while(continuarLoop) {

        atualizarInput();

        SDL_FillRect(tela, NULL, 700);

        escreverFonteMelhorada(&amp;fonteBitmap,10,0,"F2IBuilder");
        escreverFonteMelhorada(&amp;fonteBitmap,100,150,"Number:%d",10);
        escreverFonteMelhorada(&amp;fonteBitmap,300,260,"PJMOO");
        escreverFonteMelhorada(&amp;fonteBitmap,10,360,"Exemplo - Example");

        if (tecla(SDLK_ESCAPE)){
            continuarLoop = false;
        }

        SDL_Flip(tela);
    }
    descarregarFonte(&amp;fonteBitmap);
    finalizarSDL();

    return 0;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2011/05/29/sdl-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writting with metrics</title>
		<link>http://f2ibuilder.dukitan.com/2011/05/29/writting-with-metrics/</link>
		<comments>http://f2ibuilder.dukitan.com/2011/05/29/writting-with-metrics/#comments</comments>
		<pubDate>Sun, 29 May 2011 22:28:54 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[Example]]></category>
		<category><![CDATA[Language C]]></category>
		<category><![CDATA[SDL]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=47</guid>
		<description><![CDATA[void write(const char * WORDS, int X, int Y) { int i,t=strlen(WORDS); unsigned char l; position.x=X; //screen x position.y=Y; //screen y for (i=0; i&#60;t; i++){ l=WORDS[i]; width.x=(l%16)*sizeChar.w; width.w=width[l]; width.y=(l/16)*sizeChar.h; width.h=sizeChar.h; gsScreen-&#62;blitSurface(image,&#38;width,&#38;position); position.y=Y; position.x=position.x+width[l]; } }]]></description>
			<content:encoded><![CDATA[<pre>void write(const char * WORDS, int X, int Y)
{
   int i,t=strlen(WORDS);
   unsigned char l;
   position.x=X; //screen x
   position.y=Y; //screen y

   for (i=0; i&lt;t; i++){
     l=WORDS[i];
     width.x=(l%16)*sizeChar.w; width.w=width[l];
     width.y=(l/16)*sizeChar.h; width.h=sizeChar.h;
     gsScreen-&gt;blitSurface(image,&amp;width,&amp;position);
     position.y=Y;
     position.x=position.x+width[l];
   }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2011/05/29/writting-with-metrics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metrics Read</title>
		<link>http://f2ibuilder.dukitan.com/2011/05/29/metrics-read/</link>
		<comments>http://f2ibuilder.dukitan.com/2011/05/29/metrics-read/#comments</comments>
		<pubDate>Sun, 29 May 2011 22:25:57 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[Example]]></category>
		<category><![CDATA[Language C]]></category>
		<category><![CDATA[SDL]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=45</guid>
		<description><![CDATA[//Global our member of class char width[256]; void load(std::string fileimage) { FILE *file; std::string txt=""; image = IMG_Load(fileimage.c_str()); if (image!=NULL){ txt=fileimage.substr(0,fileimage.length()-4); txt+=".dat"; file = fopen(txt.c_str(),"rb"); fread(&#38;width, 256, 1, file); fclose(file); } }]]></description>
			<content:encoded><![CDATA[<pre>//Global our member of class
char width[256];

void load(std::string fileimage)
{
   FILE *file;
   std::string txt="";
   image = IMG_Load(fileimage.c_str());

   if (image!=NULL){
       txt=fileimage.substr(0,fileimage.length()-4);
       txt+=".dat";
       file = fopen(txt.c_str(),"rb");
       fread(&amp;width, 256, 1, file);
       fclose(file);
   }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2011/05/29/metrics-read/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>F2IBuilder in GearDownload.com</title>
		<link>http://f2ibuilder.dukitan.com/2010/08/04/f2ibuilder-in-geardownload-com/</link>
		<comments>http://f2ibuilder.dukitan.com/2010/08/04/f2ibuilder-in-geardownload-com/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 23:28:54 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[Notice]]></category>
		<category><![CDATA[awards]]></category>
		<category><![CDATA[GearDownload]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=65</guid>
		<description><![CDATA[Dear David de Almeida Ferreira, Your product, F2IBuilder 3.8, has been tested 100% clean and rated 5 stars on GearDownload.com. Your product can be reached from the following URL: http://www.geardownload.com/graphic/f2ibuilder.html If you want to link back to this page, you can use our 5 stars rating image (http://www.geardownload.com/images/5starsc.jpg) or choose more award images at http://www.geardownload.com/linktous.html <a href='http://f2ibuilder.dukitan.com/2010/08/04/f2ibuilder-in-geardownload-com/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Dear David de Almeida Ferreira,</p>
<p>Your product, F2IBuilder 3.8, has been tested 100% clean and rated 5   stars on GearDownload.com. Your product can be reached from the   following URL:<br />
<a href="http://www.geardownload.com/graphic/f2ibuilder.html" target="_blank">http://www.geardownload.com/graphic/f2ibuilder.html</a></p>
<p>If you want to link back to this page, you can use our 5 stars rating  image (<a href="http://www.geardownload.com/images/5starsc.jpg" target="_blank">http://www.geardownload.com/images/5starsc.jpg</a>)  or choose more award images at <a href="http://www.geardownload.com/linktous.html" target="_blank">http://www.geardownload.com/linktous.html</a> to fit your site style.</p>
<p>If you want to remove your product from our site or simply need   something changed or updated, please feel free to contact us and we will   work with you to fix any problem you may have found with the product&#8217;s   listing.</p>
<p>NEW! We use new file server to host software files. Simply reply this   email if you want your software file hosted on GearDownload.com.</p>
<p>NEW! Free promotion is available now. Check at <a href="http://www.geardownload.com/promotion.php" target="_blank">http://www.geardownload.com/promotion.php</a></p>
<p>Thanks,</p>
<p>Sincerely,<br />
The GearDownload Team<br />
<a href="mailto:gear@geardownload.com">gear@geardownload.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2010/08/04/f2ibuilder-in-geardownload-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SoftSea</title>
		<link>http://f2ibuilder.dukitan.com/2010/05/29/softsead/</link>
		<comments>http://f2ibuilder.dukitan.com/2010/05/29/softsead/#comments</comments>
		<pubDate>Sat, 29 May 2010 23:30:54 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[Notice]]></category>
		<category><![CDATA[awards]]></category>
		<category><![CDATA[softsea]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=67</guid>
		<description><![CDATA[Hello Sir, Your software F2IBuilder is excellent (5 Star Award and 100% Clean), we like it very much. We have updated it to our SoftSea software directory: http://www.softsea.com/review/F2IBuilder.html Your software has also been sent to our exclusive SoftSea RSS Feed. Please let us know once your software have new version, and we expect more new <a href='http://f2ibuilder.dukitan.com/2010/05/29/softsead/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Hello Sir,</p>
<p>Your software F2IBuilder is excellent (5 Star Award  and 100% Clean),  we like it very much. We have updated it to our  SoftSea software  directory:</p>
<p><a title="http://www.softsea.com/review/F2IBuilder.html" href="http://www.softsea.com/review/F2IBuilder.html">http://www.softsea.com/review/F2IBuilder.html</a></p>
<p>Your software has also been sent to our exclusive SoftSea RSS  Feed.</p>
<p>Please let us know once your software have new version, and we expect  more new software from you. Thank you very much.</p>
<p>To Your  Software Success!<br />
<a title="http://www.softsea.com/" href="http://www.softsea.com/">http://www.softsea.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2010/05/29/softsead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>v3.8</title>
		<link>http://f2ibuilder.dukitan.com/2009/03/31/v3-8/</link>
		<comments>http://f2ibuilder.dukitan.com/2009/03/31/v3-8/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 00:00:33 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[ChangeLog]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=166</guid>
		<description><![CDATA[Version: 3.8 Date: 31/03/2009 Log: New Architecture; Correction of small bugs; Added compatibility with Java 5; Added option to open and save project (file.f2i); Added option to adjust the position of charset; Added new options for size of textures;]]></description>
			<content:encoded><![CDATA[<h3>Version:</h3>
<p>3.8</p>
<h3>Date:</h3>
<p>31/03/2009</p>
<h3>Log:</h3>
<ul>
<li> New Architecture;</li>
<li>Correction of small bugs;</li>
<li>Added compatibility with Java 5;</li>
<li>Added option to open and save project (file.f2i);</li>
<li>Added option to adjust the position of charset;</li>
<li>Added new options for size of textures;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2009/03/31/v3-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>F2IBuilder 3.1 in Softpedia</title>
		<link>http://f2ibuilder.dukitan.com/2008/04/15/f2ibuilder-3-1-in-softpedia/</link>
		<comments>http://f2ibuilder.dukitan.com/2008/04/15/f2ibuilder-3-1-in-softpedia/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 23:25:56 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[Notice]]></category>
		<category><![CDATA[awards]]></category>
		<category><![CDATA[softpedia]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=59</guid>
		<description><![CDATA[Hello, Your product &#8220;F2IBuilder 3.1&#8243; has been tested by the Softpedia labs and found to be completely clean of adware/spyware components. We are impressed with the quality of your product and encourage you to keep this high standards in the future. To assure our visitors that &#8220;F2IBuilder 3.1&#8243; is clean, we have granted it with <a href='http://f2ibuilder.dukitan.com/2008/04/15/f2ibuilder-3-1-in-softpedia/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>Your product &#8220;F2IBuilder 3.1&#8243; has been tested by the Softpedia labs and found to be completely clean of adware/spyware components.</p>
<p>We are impressed with the quality of your product and encourage you to keep this high standards in the future.</p>
<p><span id="more-59"></span></p>
<p>To assure our visitors that &#8220;F2IBuilder 3.1&#8243; is clean, we have granted it with the &#8220;100% FREE&#8221; Softpedia award. Moreover, to let your users know about this certification, you may display this award on your website, on software boxes or inside your product.</p>
<p>More information about your product&#8217;s certification and the award is available<br />
on this page: http://mac.softpedia.com/progClean/F2IBuilder-Clean-32175.html</p>
<p>Your product review page is located at:</p>
<p>http://mac.softpedia.com/get/Graphics/F2IBuilder.shtml</p>
<p>Please feel free to link to us using the URL above.<br />
If you choose to link to the award page for your product, you may use the award graphic or a text link such as: &#8220;100% FREE award granted by Softpedia&#8221;</p>
<p>Don&#8217;t hesitate to contact us for more information.</p>
<p>Sincerely,<br />
The Softpedia Team</p>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2008/04/15/f2ibuilder-3-1-in-softpedia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>v2.2</title>
		<link>http://f2ibuilder.dukitan.com/2007/08/01/v2-2/</link>
		<comments>http://f2ibuilder.dukitan.com/2007/08/01/v2-2/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 23:59:49 +0000</pubDate>
		<dc:creator>davidferreirafz</dc:creator>
				<category><![CDATA[ChangeLog]]></category>

		<guid isPermaLink="false">http://teste1.dukitan.com/?p=164</guid>
		<description><![CDATA[Version: 2.2 Date: 01/08/2007 Log: Barra de Rolagem]]></description>
			<content:encoded><![CDATA[<h3>Version:</h3>
<p>2.2</p>
<h3>Date:</h3>
<p>01/08/2007</p>
<h3>Log:</h3>
<ul>
<li> Barra de Rolagem</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://f2ibuilder.dukitan.com/2007/08/01/v2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

