Author Topic: Unicode script processor and reinventing the wheel  (Read 1465 times)

muzzy

  • Member
  • **
  • Posts: 391
  • Kudos: 409
    • http://muzzy.net/
Goddamnit microsoft! This can't be right. GDI+ has its own unicode script processor and doesn't use Uniscribe to do its work. Why in the name of Eris does it do this?!

So, I just want to render some text. I'm using richedit as an editbox and displaying in a GDI+ rendered control. Turns out, the two render same string completely differently when there's some funny content in the string.

It looks like I'll have to do my text rendering using Uniscribe and GDI while the rest of the application renders itself with GDI+. Otherwise I'll have internal inconsistencies.

So, the GDI+ text rendering api is WORTHLESS, goddamn fscking WORTHLESS. Why was it implemented in the first place? Is unicode script processor really such a small thing that it gets reimplemented by microsoft on a daily basis or something? WTF? ASDFSLDFJLKDSFJGLKDJFLGKDJFLGK!L!J!!!!!!

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
Re: Unicode script processor and reinventing the wheel
« Reply #1 on: 23 March 2006, 14:23 »
I know this is kinda off-topic, but are the transparant effects part of GDI+ too?

muzzy

  • Member
  • **
  • Posts: 391
  • Kudos: 409
    • http://muzzy.net/
Re: Unicode script processor and reinventing the wheel
« Reply #2 on: 23 March 2006, 16:50 »
With "transparent effects" I think you mean layered windows and they're not GDI+ although GDI+ provides easy way to implement per-pixel transparency with layered windows.  If you're interested in the programming perspective, you can read about WS_EX_LAYERED in msdn or you could check out my clock application (sources included) to see both layered windows and GDI+ in the same context:  http://hack.fi/~muzzy/code/

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Unicode script processor and reinventing the wheel
« Reply #3 on: 23 March 2006, 21:30 »
AOENTHDUEOISNTAOEHDIUESONTDAOIE !!!!!

WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
Re: Unicode script processor and reinventing the wheel
« Reply #4 on: 24 March 2006, 00:04 »
Quote from: H_TeXMeX_H
AOENTHDUEOISNTAOEHDIUESONTDAOIE !!!!!

I can feel my IQ dropping... :p
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Unicode script processor and reinventing the wheel
« Reply #5 on: 24 March 2006, 00:23 »
Hey, but you can tell I use dvorak :D ... sorry, I felt the

Quote from: muzzy
WTF? ASDFSLDFJLKDSFJGLKDJFLGKDJFLGK!L!J!!!!!!


was unnecessary ... CAPS and senseless keyboard smashing

piratePenguin

  • VIP
  • Member
  • ***
  • Posts: 3,027
  • Kudos: 775
    • http://piratepenguin.is-a-geek.com/~declan/
Re: Unicode script processor and reinventing the wheel
« Reply #6 on: 24 March 2006, 00:27 »
Heh, I thought TexMex was just saying exactly what I was thinking. Nevertheless....
Quote
Goddamnit microsoft! This can't be right. GDI+ has its own unicode script processor and doesn't use Uniscribe to do its work. Why in the name of Eris does it do this?!

So, I just want to render some text. I'm using richedit as an editbox and displaying in a GDI+ rendered control. Turns out, the two render same string completely differently when there's some funny content in the string.

It looks like I'll have to do my text rendering using Uniscribe and GDI while the rest of the application renders itself with GDI+. Otherwise I'll have internal inconsistencies.

So, the GDI+ text rendering api is WORTHLESS, goddamn fscking WORTHLESS. Why was it implemented in the first place? Is unicode script processor really such a small thing that it gets reimplemented by microsoft on a daily basis or something? WTF? ASDFSLDFJLKDSFJGLKDJFLGKDJFLGK!L!J!!!!!!
GREAHTJYJEVAGFDSGREFAFDS!GREAW!"!!
"What you share with the world is what it keeps of you."
 - Noah And The Whale: Give a little love



a poem by my computer, Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.