Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Android native work!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sduclos  
View profile  
 More options Dec 31 2011, 9:40 am
From: sduclos <sduclos.ca...@gmail.com>
Date: Sat, 31 Dec 2011 06:40:55 -0800 (PST)
Local: Sat, Dec 31 2011 9:40 am
Subject: Android native work!
Hi,

I got freetype-gl running on Android (xoom) and GLES2 with Roboto-
Regular.ttf
(the new fonts in Android 4.0 - Ice Cream Sandwich).

Awesome!

I find that font rendering on Android native to be quit a challenge.

But now, thanks to your code, problem solve!

I can post my notes of my port .. but all in all it's pretty much the
same as the original code (vector.[ch], vec234.h, texture-font.[ch],
texture-atlas.[ch]).

Greeting :)

Sylvain.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Rougier  
View profile  
 More options Jan 1 2012, 4:56 am
From: Nicolas Rougier <nicolas.roug...@gmail.com>
Date: Sun, 1 Jan 2012 01:56:30 -0800 (PST)
Local: Sun, Jan 1 2012 4:56 am
Subject: Re: Android native work!

That's great news ! And it would be even greater if  you can post your
notes and code, I'm pretty sure people will appreciate.
Does that mean you have an OpenGL ES only implementation ? That would
be a great addition to the demos.

Nicolas

On Dec 31 2011, 3:40 pm, sduclos <sduclos.ca...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sduclos  
View profile  
 More options Jan 1 2012, 8:09 am
From: sduclos <sduclos.ca...@gmail.com>
Date: Sun, 1 Jan 2012 08:09:17 -0500
Local: Sun, Jan 1 2012 8:09 am
Subject: Re: Android native work!
Hi,

> Does that mean you have an OpenGL ES only implementation ? That would
> be a great addition to the demos.

Yes, I'm using OpenGL ES 2.0 and EGL on Android native (ie no Java, only C).

And yes putting together a standalone demo is a great idea.

But I will need  some time to build that so that it fit  in your stuff

I the mean time

vector.c:158

    if( self->capacity < size);
    {
        self->items = realloc( self->items, size * self->item_size );
        self->capacity = size;
    }

should be

    if( self->capacity < size)
    {
        self->items = realloc( self->items, size * self->item_size );
        self->capacity = size;
    }

there is a ';' at the end of the 'if' that look suspicious :)

Thanks,

Sylvain.

On Sun, Jan 1, 2012 at 4:56 AM, Nicolas Rougier


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Rougier  
View profile  
 More options Jan 2 2012, 1:58 am
From: Nicolas Rougier <Nicolas.Roug...@inria.fr>
Date: Mon, 2 Jan 2012 07:58:04 +0100
Local: Mon, Jan 2 2012 1:58 am
Subject: Re: Android native work!

Thanks, it has been corrected. That was really a tricky one to be found !

Happy new year.

Nicolas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sduclos  
View profile  
 More options Jan 6 2012, 2:01 pm
From: sduclos <sduclos.ca...@gmail.com>
Date: Fri, 6 Jan 2012 14:01:36 -0500
Local: Fri, Jan 6 2012 2:01 pm
Subject: Re: Android native work!

I have posted my stand-alone freetpe-gl-demo-android to Nicolas for review

here a  Screenshot.png for those interested

Sylvain.

On Mon, Jan 2, 2012 at 1:58 AM, Nicolas Rougier

  Screenshot.png
213K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bernd Paysan  
View profile  
 More options Mar 19, 7:30 pm
From: Bernd Paysan <bernd.pay...@gmail.com>
Date: Tue, 19 Mar 2013 16:30:19 -0700 (PDT)
Local: Tues, Mar 19 2013 7:30 pm
Subject: Re: Android native work!

Am Freitag, 6. Januar 2012 20:01:36 UTC+1 schrieb sduclos:

> I have posted my stand-alone freetpe-gl-demo-android to Nicolas for review

> here a  Screenshot.png for those interested

 Is there any pointer where I can download your Android modifications?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sduclos  
View profile  
 More options Mar 20, 2:57 pm
From: sduclos <sduclos.ca...@gmail.com>
Date: Wed, 20 Mar 2013 14:57:36 -0400
Local: Wed, Mar 20 2013 2:57 pm
Subject: Re: Android native work!

Hi,

Nicolas has the code. So I thought it will land on is site eventually.

All of demo-android.tar.gz is 8 meg because it depend on a bunch of libs
compiled for android.

But the source code only of freetype-gl for android is 17K (in attachement).

Sylvain.

On Tue, Mar 19, 2013 at 7:30 PM, Bernd Paysan <bernd.pay...@gmail.com>wrote:

  freetype-gl_droid.tar.gz
23K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bernd Paysan  
View profile  
 More options Mar 20, 3:34 pm
From: Bernd Paysan <bernd.pay...@gmail.com>
Date: Wed, 20 Mar 2013 20:34:15 +0100
Local: Wed, Mar 20 2013 3:34 pm
Subject: Re: Android native work!

Am Mittwoch, 20. März 2013, 14:57:36 schrieb sduclos:

> Hi,

> Nicolas has the code. So I thought it will land on is site eventually.

> All of demo-android.tar.gz is 8 meg because it depend on a bunch of libs
> compiled for android.

Yes, I don't need that (apart obviously from freetype2 itself - without,
freetype-gl is useless ;-).

> But the source code only of freetype-gl for android is 17K (in attachement).

Thanks!

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Rougier  
View profile   Translate to Translated (View Original)
 More options Mar 22, 5:58 am
From: Nicolas Rougier <nicolas.roug...@gmail.com>
Date: Fri, 22 Mar 2013 02:58:01 -0700 (PDT)
Local: Fri, Mar 22 2013 5:58 am
Subject: Re: Android native work!

Yep, sorry about the long delay.
With all the restructuration of the project, I need to find the best way to
integrate your work since it won't compile on other platforms.

Maybe a variable in Makefile/CMakefile will do the trick, no ?

Nicolas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »