[Files] TTEngine 4.3 released | ANN.lu |
Posted on 15-Oct-2002 15:13 GMT by Grzegorz "Krashan" Kraszewski | 14 comments View flat View list |
TTEngine 4.3 is available for download at its home page. New features: horizontal and vertical font scaling and mirroring.
Changes from latest public release 4.1:
* I've placed an open counter in the LoadedFont structure. It removes problems with many RastPorts using one font.
* TT_SetAttrs() function may be now called before TT_SetFont() and is able to create RastPort context.
* TT_SetFont() returns now BOOL value instead of VOID, because it can fail in low memory condition.
* New demo program MoreFonts shows using many fonts at once in one window.
* Affine transformation support code added. (Particular examples of affine transformations are: scaling, shearing, rotation).
* Font may now be scaled in both the axes independently with TT_ScaleX and TT_ScaleY tags. Scaling range is from 0.01 to 100 (negative too, results in mirroring of the text).
* TT_TextExtent() returned random values in the TextExtent structure, if no font has been set for the RastPort using TT_SetFont(). Now the structure is zeroed in the case.
* New demo program Scaling shows - as its name says - font scaling.
* TT_OpenFont() performed illegal READ-MODIFY-WRITE operation at address $0000003A, if opening of the font file failed. Fixed.
* Header file "ttengine.h" was modified to comply with AmigaOS headers standard.
|
|
TTEngine 4.3 released : Comment 1 of 14 | ANN.lu |
Posted by pixie on 15-Oct-2002 15:44 GMT | Can't wait to see it integrated with the OS!!! :) |
|
TTEngine 4.3 released : Comment 2 of 14 | ANN.lu |
Posted by Grzegorz "Krashan" Kraszewski on 15-Oct-2002 17:03 GMT | In reply to Comment 1 (pixie): Patching the system is the next thing to do. V4.4 probably will include optional system patch allowing for using TrueType fonts (antialiased too) in the whole system. |
|
TTEngine 4.3 released : Comment 3 of 14 | ANN.lu |
Posted by anonymous on 15-Oct-2002 17:46 GMT | In reply to Comment 2 (Grzegorz "Krashan" Kraszewski): Sounds terrific.
Has their been any dialog with Hyperion about integrating this as part of an OS release rather than patching the system? |
|
TTEngine 4.3 released : Comment 4 of 14 | ANN.lu |
Posted by Grzegorz "Krashan" Kraszewski on 15-Oct-2002 18:18 GMT | In reply to Comment 3 (anonymous): Yes, we are in contact. But it seems TTEngine can't be for some technical reasons integrated into the system and it have to be a kind of hack anyway (but not very "heavy"). To make it short - there may be some 100% system compatible applications which fail with TTEngine. TTEngine will be not more a hack than e.g. VisualPrefs is, but can't be 100% pure due to design mistakes in AmigaOS as it is now. To sum it up - TTEngine can be (and I'll be happy if if do) valuable OS4 contribution, but not OS4 component. And to be clear here: TTEngine itself as a shared library IS NOT a hack at all - it is 100% style guide compilant. A path enabling TT fonts in the whole system IS a kind of hack however. |
|
TTEngine 4.3 released : Comment 5 of 14 | ANN.lu |
Posted by Rafo on 15-Oct-2002 18:55 GMT | In reply to Comment 4 (Grzegorz "Krashan" Kraszewski): Isn't patching Text() to use TTengine functionnalities enough to get truetype integrated in the whole OS ? |
|
TTEngine 4.3 released : Comment 6 of 14 | ANN.lu |
Posted by Grzegorz "Krashan" Kraszewski on 15-Oct-2002 20:27 GMT | In reply to Comment 5 (Rafo): No, Text() is not enough. You have to patch at least Text(), TextLength(), TextExtent(), TextFit(), OpenFont(), CloseFont() SetFont(), and from diskfont.library AvailFonts() and OpenDiskFont(). And I am not sure now if it is all. |
|
TTEngine 4.3 released : Comment 7 of 14 | ANN.lu |
Posted by StAn on 15-Oct-2002 22:07 GMT | Rafo, tu pourrais écouter le monsieur, c'est la deuxième fois qu'il te répond :P |
|
TTEngine 4.3 released : Comment 8 of 14 | ANN.lu |
Posted by Don Cox on 16-Oct-2002 03:56 GMT | In reply to Comment 6 (Grzegorz "Krashan" Kraszewski): Would patching those interfere with the working of Type1.library?
It's no good having an OS that will only handle Truetype and not Type
1. |
|
TTEngine 4.3 released : Comment 9 of 14 | ANN.lu |
Posted by Georg Steger on 16-Oct-2002 06:38 GMT | In reply to Comment 6 (Grzegorz "Krashan" Kraszewski): There's also FontExtent(). You could take a look
at AROS sources if you want, whose diskfont.library
BTW: also compiles and works under AmigaOS (including
bullet support). |
|
TTEngine 4.3 released : Comment 10 of 14 | ANN.lu |
Posted by Anonymous on 16-Oct-2002 07:55 GMT | In reply to Comment 8 (Don Cox): No. You just make the patch conditional.
IF font to be opened is truetype THEN
DO TTEngine magic
ELSE
CALL original function |
|
TTEngine 4.3 released : Comment 11 of 14 | ANN.lu |
Posted by Björn Hagström on 16-Oct-2002 09:44 GMT | Antialiased fonts would be so neat as standard in AOS(4). Ohh well.. We'll have to live with the primitive look it has now then.
/Björn |
|
TTEngine 4.3 released : Comment 12 of 14 | ANN.lu |
Posted by Grzegorz "Krashan" Kraszewski on 16-Oct-2002 10:06 GMT | In reply to Comment 8 (Don Cox): No, TTEngine does not interfere with type1.library, to say more it even work simultaneously with ttf.library, digitatruetype.library and others based on bullet.library API. TTEngine does not use bullet and is fully independent. |
|
TTEngine 4.3 released : Comment 13 of 14 | ANN.lu |
Posted by Grzegorz "Krashan" Kraszewski on 16-Oct-2002 10:08 GMT | In reply to Comment 11 (Björn Hagström): Well, It seems TTEngine patch will work under OS4 (or even MorphOS, why not). Expect first release in two or three weeks. |
|
TTEngine 4.3 released : Comment 14 of 14 | ANN.lu |
Posted by Björn Hagström on 16-Oct-2002 10:18 GMT | In reply to Comment 13 (Grzegorz "Krashan" Kraszewski): Ever though about making this available to the AROS developers? |
|
Anonymous, there are 14 items in your selection |
|
- User Menu
-
- About ANN archives
- The ANN archives is powered by #AmigaZeux. It was updated daily (news last: 22-Oct-2004; comments last: 18-May-2005).
ANN.lu was created, previously owned and maintained by Christian Kemp, www.ckemp.com.
- Contribute
- Not possible at this time!
- Search ANN archives
- Advanced search
- Hosting
- ANN.lu was hosted by Dreamhost. Sign up through this link, mention "ckemp" as referrer and he will get a 10% commission on any account you purchase.
Please show your appreciation for any past, present and future work on ANN.lu by making a contribution via PayPal.
|