えムナウ Blog

えムナウ の なすがまま

目次

Blog 利用状況

ニュース


follow mnow at http://twitter.com


えムナウのプログラミングのページ

INETAJ

書庫

日記カテゴリ

ギャラリ

縦書きライブラリ

このページで紹介した、WPFの縦書きをライブラリ化しました。
http://blogs.wankuma.com/mnow/archive/2010/10/30/194350.aspx

こんな風に呼べます。

            Uniscribe uniscribe = new Uniscribe();

 

            string inChars = "私の名前はえムナウです。";

            SCRIPT_ITEM[] items;

            OPENTYPE_TAG[] scriptTags;

            int itemsCount = uniscribe.ScriptItemize(inChars, out items, out scriptTags);

 

            System.Diagnostics.Debug.Print("inChars={0}", inChars);

            for (int index = 0; index < itemsCount; index++)

            {

                OPENTYPE_TAG tagScript = scriptTags[index];

                System.Diagnostics.Debug.Print("iCharPos={0}, flags={1} tagScript={2:x}", items[index].iCharPos, items[index].a.flags, tagScript);

            }

 

            WindowInteropHelper helper = new WindowInteropHelper(App.Current.MainWindow);

            for (int index = 0; index < itemsCount; index++)

            {

                ushort[] logClust;

                SCRIPT_CHARPROP[] charProps;

                ushort[] glyphs;

                SCRIPT_GLYPHPROP[] glyphProps;

                int length = inChars.Length - items[index].iCharPos;

                if (index + 1 < itemsCount)

                {

                    length = items[index + 1].iCharPos - items[index].iCharPos;

                }

                int glyphCount = uniscribe.ScriptShape(inChars, items[index].iCharPos, length,

                    items, scriptTags, itemsCount, helper.Handle, "msgothic", 200,

                    out logClust, out charProps, out glyphs, out glyphProps);

 

                System.Diagnostics.Debug.Print("Gryphs={0}", glyphCount);

                for (int gryphIndex = 0; gryphIndex < glyphCount; gryphIndex++)

                {

                    System.Diagnostics.Debug.Print(

                        "Gryph logClust={0}, charProps={1}, glyphs={2}, glyphProps={3}",

                        logClust[gryphIndex], charProps[gryphIndex].flags, glyphs[gryphIndex], glyphProps[gryphIndex].sva);

                }

            }

 

ここの縦書きライブラリに置いておきますのでよかったらどうぞ。
http://www.mnow.jp/tabid/220/Default.aspx

投稿日時 : 2010年12月20日 0:04

コメントを追加

# re: 縦書きライブラリ 2010/12/20 0:33 えムナウ

マーシャリングを工夫して C++ がいらないようにもしました。

# htmDjwnnxG 2021/07/03 1:50 https://codexinh.com/user/CoryHobbs

Try to remember the fact that you want to own an virtually all comprehensive older getaway.

# re: ???????? 2021/08/09 3:40 methotrexate side effects usmle

premature babies wikipedia https://chloroquineorigin.com/# hydroxychloroquine what is it

# I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics. 2021/09/05 9:50 I am really delighted to glance at this weblog pos

I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics.

# I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics. 2021/09/05 9:51 I am really delighted to glance at this weblog pos

I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics.

# I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics. 2021/09/05 9:52 I am really delighted to glance at this weblog pos

I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics.

# I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics. 2021/09/05 9:53 I am really delighted to glance at this weblog pos

I am really delighted to glance at this weblog posts which consists of lots of useful facts, thanks for providing these statistics.

# Do you mind if I quote a few of your articles as long as I provide credit and sources back to your webpage? My blog is in the exact same area of interest as yours and my visitors would truly benefit from a lot of the information you provide here. Please 2021/09/12 18:45 Do you mind if I quote a few of your articles as

Do you mind if I quote a few of your articles as long as I provide credit and sources
back to your webpage? My blog is in the exact same area of interest as yours and
my visitors would truly benefit from a lot of the information you provide here.
Please let me know if this okay with you. Appreciate
it! scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

# Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just like to say cheers for a fantastic post and a all round enjoyable blog (I also love the t 2021/09/14 9:25 Howdy I am so happy I found your website, I really

Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just
like to say cheers for a fantastic post and a all round enjoyable blog (I also love the theme/design), I don’t
have time to go through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time
I will be back to read a great deal more, Please do keep up the awesome work.

quest bars https://www.iherb.com/search?kw=quest%20bars quest bars

# Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just like to say cheers for a fantastic post and a all round enjoyable blog (I also love the t 2021/09/14 9:26 Howdy I am so happy I found your website, I really

Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just
like to say cheers for a fantastic post and a all round enjoyable blog (I also love the theme/design), I don’t
have time to go through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time
I will be back to read a great deal more, Please do keep up the awesome work.

quest bars https://www.iherb.com/search?kw=quest%20bars quest bars

# Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just like to say cheers for a fantastic post and a all round enjoyable blog (I also love the t 2021/09/14 9:27 Howdy I am so happy I found your website, I really

Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just
like to say cheers for a fantastic post and a all round enjoyable blog (I also love the theme/design), I don’t
have time to go through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time
I will be back to read a great deal more, Please do keep up the awesome work.

quest bars https://www.iherb.com/search?kw=quest%20bars quest bars

# Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just like to say cheers for a fantastic post and a all round enjoyable blog (I also love the t 2021/09/14 9:28 Howdy I am so happy I found your website, I really

Howdy I am so happy I found your website, I really found you by error, while I was researching on Yahoo for something else, Regardless I am here now and would just
like to say cheers for a fantastic post and a all round enjoyable blog (I also love the theme/design), I don’t
have time to go through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time
I will be back to read a great deal more, Please do keep up the awesome work.

quest bars https://www.iherb.com/search?kw=quest%20bars quest bars

# I love what you guys tend to be up too. This sort of clever work and exposure! Keep up the superb works guys I've you guys to my blogroll. 2021/10/26 17:05 I love what you guys tend to be up too. This sort

I love what you guys tend to be up too. This sort of clever work and exposure!
Keep up the superb works guys I've you guys to my blogroll.

# I love what you guys tend to be up too. This sort of clever work and exposure! Keep up the superb works guys I've you guys to my blogroll. 2021/10/26 17:06 I love what you guys tend to be up too. This sort

I love what you guys tend to be up too. This sort of clever work and exposure!
Keep up the superb works guys I've you guys to my blogroll.

# I love what you guys tend to be up too. This sort of clever work and exposure! Keep up the superb works guys I've you guys to my blogroll. 2021/10/26 17:07 I love what you guys tend to be up too. This sort

I love what you guys tend to be up too. This sort of clever work and exposure!
Keep up the superb works guys I've you guys to my blogroll.

# I love what you guys tend to be up too. This sort of clever work and exposure! Keep up the superb works guys I've you guys to my blogroll. 2021/10/26 17:08 I love what you guys tend to be up too. This sort

I love what you guys tend to be up too. This sort of clever work and exposure!
Keep up the superb works guys I've you guys to my blogroll.

# Heya i am for the first time here. I found this board and I find It really useful & it helped me out a lot. I hope to give something back and aid others like you aided me. 2021/11/12 11:40 Heya i am for the first time here. I found this b

Heya i am for the first time here. I found this board
and I find It really useful & it helped me out a lot.
I hope to give something back and aid others like you aided me.

# Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS. I don't know why I can't subscribe to it. Is there anybody else getting the same RSS problems? Anyone that knows the answer will you kindly respond? 2022/03/23 1:56 Oh my goodness! Awesome article dude! Many thanks,

Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS.
I don't know why I can't subscribe to it. Is there anybody else getting the same RSS
problems? Anyone that knows the answer will you kindly respond?
Thanks!!

# Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS. I don't know why I can't subscribe to it. Is there anybody else getting the same RSS problems? Anyone that knows the answer will you kindly respond? 2022/03/23 1:57 Oh my goodness! Awesome article dude! Many thanks,

Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS.
I don't know why I can't subscribe to it. Is there anybody else getting the same RSS
problems? Anyone that knows the answer will you kindly respond?
Thanks!!

# Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS. I don't know why I can't subscribe to it. Is there anybody else getting the same RSS problems? Anyone that knows the answer will you kindly respond? 2022/03/23 1:58 Oh my goodness! Awesome article dude! Many thanks,

Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS.
I don't know why I can't subscribe to it. Is there anybody else getting the same RSS
problems? Anyone that knows the answer will you kindly respond?
Thanks!!

# Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS. I don't know why I can't subscribe to it. Is there anybody else getting the same RSS problems? Anyone that knows the answer will you kindly respond? 2022/03/23 1:59 Oh my goodness! Awesome article dude! Many thanks,

Oh my goodness! Awesome article dude! Many thanks, However I am experiencing difficulties with your RSS.
I don't know why I can't subscribe to it. Is there anybody else getting the same RSS
problems? Anyone that knows the answer will you kindly respond?
Thanks!!

# Hey! This is my 1st comment here so I just wanted to give a quick shout out and say I truly enjoy reading your posts. Can you recommend any other blogs/websites/forums that cover the same subjects? Many thanks! 2022/03/24 5:45 Hey! This is my 1st comment here so I just wanted

Hey! This is my 1st comment here so I just wanted to give
a quick shout out and say I truly enjoy reading your posts.

Can you recommend any other blogs/websites/forums that cover the same subjects?
Many thanks!

# Hi, I do think this is a great website. I stumbledupon it ;) I will come back yet again since i have book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to help other people. 2022/06/05 14:33 Hi, I do think this is a great website. I stumbled

Hi, I do think this is a great website. I stumbledupon it ;)
I will come back yet again since i have book-marked
it. Money and freedom is the greatest way to change, may you be
rich and continue to help other people.

# Asking questions are really pleasant thing if you are not understanding anything completely, but this paragraph offers fastidious understanding yet. 2022/06/06 11:36 Asking questions are really pleasant thing if you

Asking questions are really pleasant thing if you are not understanding anything completely, but this paragraph offers fastidious understanding yet.

# I am really loving the theme/design of your website. Do you ever run into any browser compatibility problems? A number of my blog readers have complained about my website not working correctly in Explorer but looks great in Safari. Do you have any solutio 2022/08/12 2:06 I am really loving the theme/design of your websit

I am really loving the theme/design of your website. Do you ever
run into any browser compatibility problems? A number of my blog readers have
complained about my website not working correctly in Explorer but
looks great in Safari. Do you have any solutions to help fix this problem?

# Wonderful, what a webpage it is! This blog presents helpful information to us, keep it up. 2022/08/17 7:07 Wonderful, what a webpage it is! This blog present

Wonderful, what a webpage it is! This blog presents helpful information to us, keep
it up.

# Hiya! I know this is kinda off topic nevertheless I'd figured I'd ask. Would you be interested in trading links or maybe guest authoring a blog post or vice-versa? My site goes over a lot of the same subjects as yours and I believe we could greatly benef 2022/08/19 7:31 Hiya! I know this is kinda off topic nevertheless

Hiya! I know this is kinda off topic nevertheless I'd figured I'd ask.
Would you be interested in trading links or maybe guest authoring a blog post or vice-versa?

My site goes over a lot of the same subjects as yours
and I believe we could greatly benefit from each
other. If you are interested feel free to shoot me an email.
I look forward to hearing from you! Great blog by the way!

# Everything is very open with a clear explanation of the issues. It was truly informative. Your website is useful. Many thanks for sharing! 2022/12/03 4:44 Everything is very open with a clear explanation o

Everything is very open with a clear explanation of the issues.

It was truly informative. Your website is useful.
Many thanks for sharing!

# drug information and news for professionals and consumers. Best and news about drug.
https://edonlinefast.com
earch our drug database. Read now. 2023/02/16 22:06 EdPills

drug information and news for professionals and consumers. Best and news about drug.
https://edonlinefast.com
earch our drug database. Read now.

# pet meds without vet prescription canada - https://cheapdr.top/# 2023/04/03 15:41 Dikolipo

pet meds without vet prescription canada - https://cheapdr.top/#

# how to buy doxycycline online - https://doxycyclinesale.pro/# 2023/04/22 4:16 Doxycycline

how to buy doxycycline online - https://doxycyclinesale.pro/#

# buy prednisone without a prescription best price - https://prednisonesale.pro/# 2023/04/22 15:23 Prednisone

buy prednisone without a prescription best price - https://prednisonesale.pro/#

# where to get cytotec pills - https://cytotecsale.pro/# 2023/04/29 4:54 Cytotec

where to get cytotec pills - https://cytotecsale.pro/#

# 10mg prednisone daily https://prednisonepills.pro/# - can you buy prednisone over the counter in mexico 2023/06/05 5:29 Prednisone

10mg prednisone daily https://prednisonepills.pro/# - can you buy prednisone over the counter in mexico

# best online canadian pharmacies https://fastpills.pro/# list of canadian pharmacies online 2023/06/29 23:27 FastPills

best online canadian pharmacies https://fastpills.pro/# list of canadian pharmacies online

# buy paxlovid online https://paxlovid.store/
paxlovid price 2023/07/13 21:52 Paxlovid

buy paxlovid online https://paxlovid.store/
paxlovid price

# paxlovid generic https://paxlovid.life/# paxlovid 2023/07/26 6:30 Paxlovid

paxlovid generic https://paxlovid.life/# paxlovid

# buy cytotec over the counter https://cytotec.ink/# - cytotec online 2023/07/27 1:27 PillsFree

buy cytotec over the counter https://cytotec.ink/# - cytotec online

# top ed pills https://edpillsotc.store/# - new ed pills 2023/10/08 1:23 EdPills

top ed pills https://edpillsotc.store/# - new ed pills

# doxycycline 100mg online https://doxycycline.forum/ buy doxycycline hyclate 100mg without a rx 2023/11/25 13:23 Doxycycline

doxycycline 100mg online https://doxycycline.forum/ buy doxycycline hyclate 100mg without a rx

# farmacia online più conveniente https://farmaciait.pro/ comprare farmaci online con ricetta 2023/12/04 10:19 Farmacia

farmacia online più conveniente https://farmaciait.pro/ comprare farmaci online con ricetta

# buy cytotec in usa https://cytotec.club/ cytotec pills online 2024/04/28 2:00 Cytotec

buy cytotec in usa https://cytotec.club/ cytotec pills online

# brand prednisone 2024/08/06 16:55 Stevenput

prednisone 7.5 mg https://prednisonebestprice.pro/# buying prednisone without prescription
prednisone 20mg price

# lasix generic 2024/08/19 19:14 DanielEruts

buy misoprostol over the counter https://tamoxifen.bid/# tamoxifen side effects forum
lasix 100 mg tablet

# lasix furosemide 40 mg 2024/08/20 15:00 DanielEruts

purchase cytotec http://furosemide.win/# furosemide 40 mg
furosemide 40 mg

# lasix side effects 2024/08/24 2:27 DanielEruts

cytotec pills buy online http://cytotec.pro/# buy cytotec pills online cheap
lasix 40mg

# vavada казино 2024/09/05 2:45 Warrenpseut

http://vavada.auction/# вавада рабочее зеркало

# вавада казино 2024/09/05 17:50 Warrenpseut

https://1xbet.contact/# зеркало 1хбет

# vavada зеркало 2024/09/06 9:03 Warrenpseut

http://vavada.auction/# вавада

# gates of olympus giris 2024/09/19 6:35 GeorgeMum

https://betine.online/# betine giris

# gates of olympus oyna demo 2024/09/20 14:38 GeorgeMum

https://gatesofolympusoyna.online/# gates of olympus slot

# gates of olympus turkce 2024/09/21 7:28 GeorgeMum

https://betine.online/# betine

# п»їfarmacia online espaГ±a 2024/09/21 22:36 FloydUnorm

http://farmaciaeu.com/# farmacias online seguras en espaГ±a
farmacia online envГ­o gratis

# farmacia barata 2024/09/22 14:57 FloydUnorm

http://farmaciaeu.com/# farmacia online madrid
farmacia online madrid

# sildenafilo 50 mg precio sin receta 2024/09/22 21:31 DennisevElp

http://tadalafilo.bid/# farmacias online baratas

# sildenafilo 100mg precio farmacia 2024/09/23 6:41 DennisevElp

https://tadalafilo.bid/# farmacia barata

# farmacia online piГ№ conveniente 2024/09/24 11:11 Charlesnub

http://farmaciait.men/# farmacie online autorizzate elenco
top farmacia online

# ventolin 100 2024/09/28 5:30 Sergiodab

https://ventolininhaler.pro/# ventolin tablet 4mg

# ventolin mexico 2024/09/30 8:11 Sergiodab

https://furosemide.men/# lasix dosage

# pharmacie en ligne livraison europe 2024/10/04 3:25 StephenWadly

http://clssansordonnance.icu/# Pharmacie sans ordonnance

# acheter mГ©dicament en ligne sans ordonnance 2024/10/06 5:39 StephenWadly

https://clssansordonnance.icu/# pharmacie en ligne france fiable

タイトル
名前
URL
コメント