Any news on SDL2_RTF?

is there a roadmap for porting SDL_RTF to SDL 2.0 ?

cheers !

Oh, I didn’t know anyone was using it! :slight_smile:

What are you using it for, out of curiosity?On Fri, Apr 19, 2013 at 12:45 PM, jeroen clarysse < jeroen.clarysse at ppw.kuleuven.be> wrote:

**
is there a roadmap for porting SDL_RTF to SDL 2.0 ?

cheers !


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

[quote=“Sam Lantinga”]Oh, I didn’t know anyone was using it! :slight_smile:
What are you using it for, out of curiosity?

[quote]

i’m not using it yet :slight_smile:

in short, i am rewriting my application “Affect4”, which is a studio for authoring and running psychology experiments. Affect5 will need to be cross platform (the current version is directX only, and even based to directDraw7) so I am evaluating several “2D accelerated engines” like SDL, allegro and SFML. I’m still undecided as to which engine I will use, but one of the things that Affect does is display “instruction screens”. RTF would be ideal for this !

Oh well, it wouldn’t take long to convert SDL_rtf over to SDL 2.0, maybe a
day or so. If you decide you want to use SDL, let me know and I’ll go
ahead and do it for you.

Cheers! :)On Sat, Apr 20, 2013 at 12:35 PM, jeroen clarysse < jeroen.clarysse at ppw.kuleuven.be> wrote:

**

[quote=“Sam Lantinga”]Oh, I didn’t know anyone was using it! [image:
Smile]

What are you using it for, out of curiosity?

[quote]

i’m not using it yet [image: Smile]

in short, i am rewriting my application “Affect4”, which is a studio for
authoring and running psychology experiments. Affect5 will need to be cross
platform (the current version is directX only, and even based to
directDraw7) so I am evaluating several “2D accelerated engines” like SDL,
allegro and SFML. I’m still undecided as to which engine I will use, but
one of the things that Affect does is display “instruction screens”. RTF
would be ideal for this !


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Sam Lantinga wrote:

Oh well, it wouldn’t take long to convert SDL_rtf over to SDL 2.0, maybe a day or so. ?If you decide you want to use SDL, let me know and I’ll go ahead and do it for you.

Cheers! :slight_smile:

wow, that would be cool !

i’m still undecided : SML seems easier and more readable, but lacks proper dual monitor support. SDL is far more feature-rich, but the cross platform focus makes the code very hard to read for me. Also the documentation of SDL seems cluttered and out-of-date in many sections. I’m a bit lost on the SDL website. (most wiki pages have a placeholder for a piece of sample code, but that placeholder is empty in the majority of calls)

however, dual monitor is a must for my app, so I think SFML is out of the race as a consequence

Yes, the documentation could use a lot of love. SDL is a community
supported project and a bunch of people have expressed interest in
improving the documentation. Hopefully that will happen, but as usual,
people are busy. :slight_smile:

If you have specific pages that you’d like improved, let us know and we can
focus on them. If you’d like to help improve the documentation yourself,
that would be great and I can give you access.

Cheers!On Sun, Apr 21, 2013 at 4:44 AM, jeroen clarysse < jeroen.clarysse at ppw.kuleuven.be> wrote:

**

Sam Lantinga wrote:

Oh well, it wouldn’t take long to convert SDL_rtf over to SDL 2.0, maybe
a day or so. If you decide you want to use SDL, let me know and I’ll go
ahead and do it for you.

Cheers! [image: Smile]

wow, that would be cool !

i’m still undecided : SML seems easier and more readable, but lacks proper
dual monitor support. SDL is far more feature-rich, but the cross platform
focus makes the code very hard to read for me. Also the documentation of
SDL seems cluttered and out-of-date in many sections. I’m a bit lost on the
SDL website. (most wiki pages have a placeholder for a piece of sample
code, but that placeholder is empty in the majority of calls)

however, dual monitor is a must for my app, so I think SFML is out of the
race as a consequence


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I wouldn’t mind helping, but right now my SDL expertise is abysmal :slight_smile:

Sam Lantinga wrote:> Yes, the documentation could use a lot of love. ?SDL is a community supported project and a bunch of people have expressed interest in improving the documentation. ?Hopefully that will happen, but as usual, people are busy. :slight_smile:

If you have specific pages that you’d like improved, let us know and we can focus on them. ?If you’d like to help improve the documentation yourself, that would be great and I can give you access.

does the SDL_rtf port to SDL2 offer still stand ? I have chosen SDL over SFML (mainly for fullscreen and dual monitor support) and have started porting my old code to SDL. The RTF would be awesome…

I’m definitely not an expert on fonts, but out of curiosity how hard would
it be to just convert rtf to ttf fonts or just use ttf format?
Then you could happily live ever after with SDL_TTF2.
Cheers,
Vittorio

hm, i don’t know how much code has to be changed in the SDL-RTF module… there is the rtf-parsing code, which is probably SDL2 compatible already, but the rest I don’t know. I could try to figure it out…

Apples and oranges. RTF isn’t a font format; it’s a markup language like HTML.

Mason________________________________
From: Vittorio Giovara <vittorio.giovara at gmail.com>
To: SDL Development List
Sent: Tuesday, April 30, 2013 6:04 AM
Subject: Re: [SDL] Any news on SDL2_RTF ?

I’m definitely not an expert on fonts, but out of curiosity how hard would it be to just convert rtf to ttf fonts or just use ttf format?
Then you could happily live ever after with SDL_TTF2.
Cheers,
Vittorio


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Mason Wheeler wrote:

Apples and oranges. RTF isn’t a font format; it’s a markup language like HTML.

yep. But i guess that the SDL_rtf library could be made SDL2 compatible by adjusting all the calls from SDL_TTF to SDL_TTF2 and SDL to SDL2. It’s just that I’m not yet experienced enough to do all that.

I guess that most game developers would use bitmaps to make instruction screens, but for our package, external RTF files are a blessing : we can have researchers drop RTF files into our engine and voil? : the app is pu-to-date without having to resort to a graphics application like photoshop or gimp !

Actually, many games use something like Freetype or similar to render
to a bitmap which is then uploaded as a texture, because rendering
text is annoying, especially with all the special rules to follow. Of
course many other games just upload all characters into textures and
draw separate quads for each character instead.

2013/4/30, jeroen clarysse <jeroen.clarysse at ppw.kuleuven.be>:>

Mason Wheeler wrote:

Apples and oranges. RTF isn’t a font format; it’s a markup language like
HTML.

yep. But i guess that the SDL_rtf library could be made SDL2 compatible by
adjusting all the calls from SDL_TTF to SDL_TTF2 and SDL to SDL2. It’s just
that I’m not yet experienced enough to do all that.

I guess that most game developers would use bitmaps to make instruction
screens, but for our package, external RTF files are a blessing : we can
have researchers drop RTF files into our engine and voil? : the app is
pu-to-date without having to resort to a graphics application like photoshop
or gimp !

Yup, I’ll add it to the TODO list.

Cheers!On Tue, Apr 30, 2013 at 3:01 AM, jeroen clarysse < jeroen.clarysse at ppw.kuleuven.be> wrote:

**
does the SDL_rtf port to SDL2 offer still stand ? I have chosen SDL over
SFML (mainly for fullscreen and dual monitor support) and have started
porting my old code to SDL. The RTF would be awesome…


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

thank you !

You’re welcome! :)On Tue, Apr 30, 2013 at 2:20 PM, jeroen clarysse < jeroen.clarysse at ppw.kuleuven.be> wrote:

**
thank you !


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Okay, SDL_rtf has been ported to SDL 2.0!

You can grab a copy like this:
hg clone http://hg.libsdl.org/SDL_rtf

You’ll need to grab the latest Mercurial version of SDL as well, since this
uses the new 2D render clipping API.

Enjoy!On Tue, Apr 30, 2013 at 3:01 AM, jeroen clarysse < jeroen.clarysse at ppw.kuleuven.be> wrote:

**
does the SDL_rtf port to SDL2 offer still stand ? I have chosen SDL over
SFML (mainly for fullscreen and dual monitor support) and have started
porting my old code to SDL. The RTF would be awesome…


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org