Was someone still looking for Uniscribe samples?

by Michael S. Kaplan, published on 2006/03/11 18:14 -05:00, original URI: http://blogs.msdn.com/b/michkap/archive/2006/03/11/549657.aspx

It was not all that long ago that I talked about The Lack of Uniscribe samples.

In the meantime, James Brown hass put together some very interesting docs with samples -- definitely worth a look!

Excerpted from his announcement in the microsoft.public.win32.programmer.international newsgroup:

The thrust behind the tutorials is to document the development of "UspLib", a Win32/Uniscribe text-rendering-engine which is similar in many ways to the ScriptString API, but with the additional capability of being able to draw fully styled+coloured text using user-supplied style-runs. It is still very much work-in-progress but is fully functional and should be suitable for any win32 application which requires basic styled-text support (such as syntax-colouring text-editors)..

Part 11 - Introduction to Uniscribe

Part 12 - Uniscribe Mysteries (ScriptItemize/Layout)


Part 14 - Drawing styled text with Uniscribe (ScriptTextOut)


Part 15 - Integrating UspLib (documents UspLib)


You can see Neatpad in action (and download the source) here:

Any feedback would be appreciated, especially if you notice any glaring errors/omissions.

Enjoy, and be sure to get James any feedback you have about these chapters or the samples.

Thanks, James!

# Ian Treleaven on 16 Mar 2006 12:43 PM:

Thanks for the Uniscribe sample references, Michael. So far they appear to be exactly the type of thing that is needed.
BTW, thanks for the compliments on Crystal Reports' text handling in the 'The Lack of Uniscribe samples' article. I work on that stuff, and the Crystal Reports report preview in VS 2005.
Long live unicows...

# Michael S. Kaplan on 16 Mar 2006 1:25 PM:

My pleasure, Ian!

Heikki on 31 Mar 2010 4:03 PM:

The linked article is an amazingly well written tutorial. There is still a lack of examples for a more specific scenario, and that is the following:

- Writing a text editor control in .NET

- Needs to have complex script support

- Needs to have more control than TextRenderer allows

I've been searching for a long time and no dice.

Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2007/07/05 Those Uniscribe samples from 'the hardest working ISV in complex scripts'

2007/03/30 Determining if a font is gonna get it done

go to newer or older post, or back to index or month or day