Jack Hudler


What are the current plans with Uniscribe
Other than MSDN documentation and only one sample app (please correct me if there are more), it makes me worry about future support.

Comment



Re: How can I pass an array to an ATL class

MS ISV Buddy Team


Per the product team:

Uniscribe is the core part of the Windows OS for supporting scripts. There was a significant amount of work put into Uniscribe for Vista, including some new APIs to allow for OpenType support. These new APIs are documented in MSDN or the Longhorn PSDK.

I hope this helps.
-brenda (ISV Buddy Team)






Re: How can I pass an array to an ATL class

MS ISV Buddy Team

Here is some additional information on UniScribe:

As mentioned, Uniscribe is still very much alive and being maintained. We have added support for additional scripts for < xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Vista, and we will continue to work on expanding script support in future OS products. We added new functionality to Uniscribe in the form of support for OpenType typographic features. Office 12 will make use of that functionality. < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

We are also working on developing script support in Avalon, with a goal of having parity in script support between Avalon and Uniscribe.

-brenda (ISV Buddy Team) 







Re: How can I pass an array to an ATL class

Rafe Wu

Hi folks, I have an ATL interface. its idl file

Code Snippet
[
object,
uuid(9EECD4C5-9BF1-433A-B2B7-0A6A5439426C),
dual,
nonextensible,
helpstring("ITestAtlArray Interface"),
pointer_default(unique)
]
interface ITestAtlArray : IDispatch{
[id(1), helpstring("method Test1")] HRESULT Test1([out] SAFEARRAY(BSTR) psa);
};
[
uuid(616344F5-9FFE-4685-9CA2-986BF95C6313),
version(1.0),
helpstring("AtlArray2 1.0 Type Library")
]
library AtlArray2Lib
{
importlib("stdole2.tlb");
interface IDocHostUIHandlerDispatch;
interface IAxWinAmbientDispatchEx;
[
uuid(82C8E5D0-6955-49B7-8ABE-3B3A218FF8B8),
helpstring("TestAtlArray Class")
]
coclass TestAtlArray
{
[default] interface ITestAtlArray;
};
};

Now, I want my pass a System.Array object to Test1 method in my C# smart device project.

Code Snippet

AtlArray2Lib.TestAtlArray obj = new AtlArray2Lib.TestAtlArray();

System.Array arr = new string[10];
obj.Test1(arr);

Everytime, I run to obj.Test1(arr). The application will crash.

But this code can run successfully as desktop C# application on .NET Framework 2.0.

So, is it possible to do so on .NET compact framework or Is there something wrong with code






Re: How can I pass an array to an ATL class

SJVCT

I need to upgrade(fix) my TrueType font code. The old code simply retrieves the curves (bsplines/polylines) and plots them on a graph (xy locations).

I used "fixed" spacing and the results are very random. I looked into kerningpairs but found Uniscribe and OTLS. My question is this...

What is the best method of retrieving and aligning the curves I have read a little about font tables (GPOS, GSUB, etc) but don't know where to start.

I would like to find some sample code or book that describe the process with an example.

Thanks for your help

SJV