Re: [XeTeX] ATSUI/Core Text/etc. Re: Minimalist TeX?

2012-05-23 Thread Peter Dyballa

Am 23.05.2012 um 03:36 schrieb Simon Cozens:

 I'm coming very late to this party but could someone explain why Core Text 
 would be the best replacement here?

ATSUI is 32-bit only in a 64-bit world and will be removed from Mac OS X in 
some near future. (CoreText might exist a few more years, like ATSUI did 
before.) Even the TechNotes that explained the use of ATSUI in programmes are 
removed.

--
Greetings

  Pete

In a world without walls and fences, who needs gates and windows?




--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] ATSUI/Core Text/etc. Re: Minimalist TeX?

2012-05-23 Thread Simon Cozens

On 23/05/2012 17:31, Peter Dyballa wrote:

Am 23.05.2012 um 03:36 schrieb Simon Cozens:

I'm coming very late to this party but could someone explain why Core Text 
would be the best replacement here?

ATSUI is 32-bit only in a 64-bit world


I understand that ATSUI needs to go; that wasn't the question I asked. Why 
replace it with another OSX-only API when others are available?



--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] ATSUI/Core Text/etc. Re: Minimalist TeX?

2012-05-23 Thread Khaled Hosny
On Wed, May 23, 2012 at 06:54:37PM +0900, Simon Cozens wrote:
 On 23/05/2012 17:31, Peter Dyballa wrote:
 Am 23.05.2012 um 03:36 schrieb Simon Cozens:
 I'm coming very late to this party but could someone explain why Core Text 
 would be the best replacement here?
 ATSUI is 32-bit only in a 64-bit world
 
 I understand that ATSUI needs to go; that wasn't the question I
 asked. Why replace it with another OSX-only API when others are
 available?

ATSUI is used for Apple's AAT technology which is not supported by
other libraries. HarfBuzz is mainly and OpenType engine, but we are
already using ICU's layout engine for that. Graphite is yet a different
technology and XeTeX is already using it.

Regards,
 Khaled


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] ATSUI/Core Text/etc. Re: Minimalist TeX?

2012-05-23 Thread Jjgod Jiang
Hi Simon,

On Wed, May 23, 2012 at 11:54 AM, Simon Cozens si...@simon-cozens.org wrote:
 On 23/05/2012 17:31, Peter Dyballa wrote:

 Am 23.05.2012 um 03:36 schrieb Simon Cozens:
 ATSUI is 32-bit only in a 64-bit world

 I understand that ATSUI needs to go; that wasn't the question I asked. Why
 replace it with another OSX-only API when others are available?

There are two parts of ATSUI used in XeTeX, one is AAT (Apple Advanced
Typography) support, which is already pretty much deprecated and Mac OS X
10.6 already shipped with OpenType fonts which doesn't require AAT support.
The other part is accessing and query for platform fonts in a native way,
that's the ATS (Apple Type Services) part, which is not deprecated yet.

Core Text provides the replacement for both features. If we decided to
drop AAT support, then we can just keep the ATS part and disable the AAT
part, no Core Text is needed, ICU will still be used for complex text
layout (currently you can switch between AAT and ICU with /AAT and /ICU
suffix in font selection). Or we can leverage the Core Text font manager
API to build a new platform font access implementation that's less likely
to deprecate in the upcoming years. We can also use the Core Text API to
implement AAT support if that's needed after all.

- Jiang


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] ATSUI/Core Text/etc. Re: Minimalist TeX?

2012-05-23 Thread Petr Tomasek
On Wed, May 23, 2012 at 10:31:58AM +0200, Peter Dyballa wrote:
 
 Am 23.05.2012 um 03:36 schrieb Simon Cozens:
 
  I'm coming very late to this party but could someone explain why Core Text 
  would be the best replacement here?
 
 ATSUI is 32-bit only in a 64-bit world and will be removed from Mac OS X in 
 some near future. (CoreText might exist a few more years, like ATSUI did 
 before.) Even the TechNotes that explained the use of ATSUI in programmes are 
 removed.

How does this relates to the possibility to use some OS-independed
renderer instead?

-- 
Petr Tomasek
Jabber: but...@jabbim.cz



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] ATSUI/Core Text/etc. Re: Minimalist TeX?

2012-05-23 Thread Peter Dyballa

Am 23.05.2012 um 16:08 schrieb Petr Tomasek:

 How does this relates to the possibility to use some OS-independed
 renderer instead?

You would lose the ability to use features from AAT enhanced fonts.

--
Greetings

  Pete

Competition is the great erode of profits.



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] ATSUI/Core Text/etc. Re: Minimalist TeX?

2012-05-22 Thread Simon Cozens

On 19/05/2012 03:22, Mojca Miklavec wrote:

I might be wrong, but I think that currently a much more awaited patch
would be one replacing ATSUI library calls with Core Text. I guess
that would be way less work than replacing PDF library and bring way
more benefits to the community.


I'm coming very late to this party but could someone explain why Core Text 
would be the best replacement here? It seems like swapping out one OS-specific 
library for another, when there are platform-independent text layout libraries 
available that could be used instead. (I don't know any XeTeX internals yet so 
I don't know what it uses on non-OSX platforms already.)


Why not replace ATSUI with e.g. SIL graphite or Pango/Harfbuzz?


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex