freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] OTL_String (was: Re: [Devel] FT_Set_Hint_Flags problem)


From: David Turner
Subject: Re: [OT] OTL_String (was: Re: [Devel] FT_Set_Hint_Flags problem)
Date: Wed, 07 May 2003 14:38:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

Hi Emile,

Emile van Bergen wrote:
Hi,

On Wed, May 07, 2003 at 10:09:36AM +0200, David Turner wrote:


 - it doesn't include something like "otl_ruleset_shape" since
   I've not finalized a good "OTL_String" type for now.


If you insist on building an abstract string type in C, please use
something that includes a separate pointer and length member, and allow
these to be manipulated directly, not only through functions.

A data member that is required in any type of implementation and whose
semantics are completely clear, should not be encapsulated, IMHO.

This may be completely OT, and OTL_String may be something very specific
instead of a general, abstract string type -- it's just that I've seen a
bit too many flawed implementations of abstract strings. Trying to make
strings abstract is often just plain wrong, too.

An "OTL_String" is not an abstract string type, it's something very
specific to the layout process. It's probably mis-named, and it will
probably be divided into "input vector" and "output vector" with
distinct formats anyway..

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)


--
This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender.
Any use not in accordance with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.
The E-Mail transmission can not guarantee the integrity of this message.
CANAL+TECHNOLOGIES will not therefore be liable for the message if modified.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]