![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on [release] intraFont 0.25 within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; About teaching an old dog new tricks: the new version of intraFont supports scrolling text - just like in the ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
About teaching an old dog new tricks: the new version of intraFont supports scrolling text - just like in the XMB, when there's not enough space to display a whole line at once. There are four different scrolling styles: left, seesaw (back&forth), right and through (sweep from right to left).
![]() intraFont 0.25 can be downloaded from here. Check out the binaries to see what I'm talking about. Study the samples if you want to know how it's used. (Binaries and samples are included in the archive.) If you know other tricks that I should teach this old dog (i.e. implement in intraFont), let me know. See you, BenHur --- Update: intraFont 0.26 is now available. Changes:
See you, BenHur Last edited by BenHur; 01-23-2009 at 04:01 AM.. Reason: new version available (bugfixes) |
|
|
|
|
|
#3 |
![]() ![]() Developer
|
Nice work
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#5 |
![]() |
@Burows: That's not directly related to the development of intraFont, but an interesting suggestion nevertheless. Please, check your private messages.
|
|
|
|
|
|
#6 |
![]() ![]() OMFG
|
Excellent work Benhur, thank you so much for releasing yet another fantastic version of intraFont.
One thing I've noticed though which may or may not be a bug: In one of my apps I've just updated intraFont from version 0.21 to version 0.24, and some of my text isn't like it used to be. It occurs when I have a long message that would normally take up the entire width of the screen so I manually put in a '\n' character to send it to the next line, and it happens when using the INTRAFONT_ALIGN_CENTER parameter. In version 0.21 it would center the first line, and all of the next lines accordingly - but in this newer version the first line is centered, but all of the following lines are always left-aligned. I'm not sure whether that makes sense to you or not, but maybe it's worth looking into ![]() Here's an example, ![]() (See the text near the bottom? Code:
intraFontSetStyle(ltn[0], 0.5f, RGB(textColour,textColour,textColour), 0xFFFFFFFF, INTRAFONT_ALIGN_CENTER); intraFontPrint(ltn[0], 240, 220, "(Known Bug: If you connect and then disconnect,\n you may need to restart Asterz.)"); |
|
|
|
|
|
#7 |
![]() ![]() Bush Programmer
|
This should still work:
Code:
intraFontSetStyle(ltn[0], 0.5f, RGB(textColour,textColour,textColour), 0xFFFFFFFF, INTRAFONT_ALIGN_CENTER); intraFontPrint(ltn[0], 240, 220, "(Known Bug: If you connect and then disconnect,)"); intraFontPrint(ltn[0], 240, 230, "(you may need to restart Asterz.)"); |
|
|
|
|
|
#8 | |
![]() |
Quote:
Cheers, BenHur |
|
|
|
|
|
|
#10 |
![]() ![]() Developer
|
Her is an idea.
Add this to your intraFont.h file to make selecting the font and style easer in code. Code:
#define INTRAFONT_LATIN(f) ltn[f] #define INTRAFONT_SERIF 0x01 #define INTRAFONT_ITALIC 0x02 #define INTRAFONT_BOLD 0x04 #define INTRAFONT_SMALL 0x08
__________________
www.xart.co.uk coreXlib, old school library. ColorSync Display Profiles for MacBook (LG LCD) & New MacBook (AUO LCD) Profile for LG LP133WX1 Profile for AUO B133EW01 |
|
|
|
|
|
#11 |
![]() |
Is this the newest version? I would swear that I saw a 0.26 somewhere or am I wrong?
__________________
[spoiler=My Releases So Far] PSP_Operator v2.0 Final (and earlier; stopped with this one) Mario's Road v2.0 (working on 2.5:D) UMD_Operator v0.0.2 (and earlier; stopped with this one) PSP-Quiz v0.1 (working on v0.2 already:D) [/spoiler] |
|
|
|
|
|
#12 | |
![]() |
Quote:
Code:
enum intraFontCodes{
INTRAFONT_SERIF = 0x01,
INTRAFONT_ITALIC = 0x02,
INTRAFONT_BOLD = 0x04,
INTRAFONT_SMALL = 0x08
};
__________________
I gone and made that one power spoofer and that gay cheat device. |
|
|
|
|
|
|
#13 |
![]() ![]() Developer
|
I understand why you suggested enum but to me #define feel correct, enum tend to be use to with passing values to functions parameters so only values the function deals with are ever passed and none valid produce an error on compile time to avoid bugs in code.
So I would go with #define instead of enum in this case. Any how we will see what BenHur will do.
__________________
www.xart.co.uk coreXlib, old school library. ColorSync Display Profiles for MacBook (LG LCD) & New MacBook (AUO LCD) Profile for LG LP133WX1 Profile for AUO B133EW01 |
|
|
|
|
|
#14 | |
![]() |
Quote:
you are right (the first post was updated, but I wasn't able to change the thread title) |
|
|
|
|
|
|
#16 |
![]() ![]() Developer
|
I am working on my SXLibrary that is to be released when enough is added and fully works with intraFont without issues, so my library dosn't have any text as BenHur has a library that we all use a like.
Be released as simple .c & .h files like intraFont Don't know if anyone has looked at giving intraFont the ability to render text in 3D, but it is somethink i am looking at soon.
__________________
www.xart.co.uk coreXlib, old school library. ColorSync Display Profiles for MacBook (LG LCD) & New MacBook (AUO LCD) Profile for LG LP133WX1 Profile for AUO B133EW01 |
|
|
|
|
|
#18 |
![]() ![]() OMFG
|
|
|
|
|
![]() |
| Tags |
| 025 , benhur , intrafont , release |
| Thread Tools | |
|
|