wenyan icon indicating copy to clipboard operation
wenyan copied to clipboard

建议古文从上至下书写,从右至左阅读

Open huangyz0918 opened this issue 4 years ago • 18 comments

古代的阅读顺序一开始是和竹简相关的,从上到下,从右到左,刚好符合竹简打开的顺序。

huangyz0918 avatar Dec 17 '19 10:12 huangyz0918

那這樣的話可能連IDE都要重新寫一個喔

minexo79 avatar Dec 17 '19 11:12 minexo79

@huangyz0918 你的内容和标题不符诶 (从左到右 -> 从右到左)?

yxliang01 avatar Dec 17 '19 13:12 yxliang01

@yxliang01 :P

huangyz0918 avatar Dec 17 '19 13:12 huangyz0918

Hi there,

Good suggestion! I'm thinking about doing that for the online IDE, perhaps as a toggle-able mode. But of course, as minexo79 mentioned, some re-writing needs to take place.

My current priority is writing a language specification, but I'll gladly explore the vertical text orientation idea when I have time. Will update here when it's done!

Thanks.

LingDong- avatar Dec 17 '19 14:12 LingDong-

Good idea which is deserved to try.

anymost avatar Dec 18 '19 02:12 anymost

有道理,提高逼格

nbclassplus avatar Dec 18 '19 02:12 nbclassplus

Hi there,

Good suggestion! I'm thinking about doing that for the online IDE, perhaps as a toggle-able mode. But of course, as minexo79 mentioned, some re-writing needs to take place.

My current priority is writing a language specification, but I'll gladly explore the vertical text orientation idea when I have time. Will update here when it's done!

Thanks.

Hi, Do you think it is a good idea if we create a plugin of vs code to support this language. maybe the editor can implement the vertical test orientation idea. it may show Classical Chinese better.

ZhenxingXiao avatar Dec 19 '19 03:12 ZhenxingXiao

@ZhenxingXiao Sounds like an appealing idea! There is already a nice VS code plugin by @antfu , perhaps we could reach out to them to see if it would be feasible to add vertical text, and how we can collaborate to make that happen ;) Thanks!

LingDong- avatar Dec 19 '19 03:12 LingDong-

Hi there, Good suggestion! I'm thinking about doing that for the online IDE, perhaps as a toggle-able mode. But of course, as minexo79 mentioned, some re-writing needs to take place. My current priority is writing a language specification, but I'll gladly explore the vertical text orientation idea when I have time. Will update here when it's done! Thanks.

Hi, Do you think it is a good idea if we create a plugin of vs code to support this language. maybe the editor can implement the vertical test orientation idea. it may show Classical Chinese better.

@ZhenxingXiao You may take a look at the following Vertical Editors: EverEdit for Windows Mou for Mac 縱式 for Mac

heangfat avatar Dec 19 '19 03:12 heangfat

@ZhenxingXiao @LingDong- Those editors above are only for your reference. Actually I suggest you to make a new one. As far as I know, 中國科學院軟件研究所 used to realize pure vertical GUI using Qt, including all the elements in a window. You may want to contact them for this. QtV Of course, this should be a long-term plan.

heangfat avatar Dec 19 '19 07:12 heangfat

强烈建议IDE字体改为<北师大说文小篆> image

suiyun39 avatar Dec 19 '19 12:12 suiyun39

@NoDocCat 北師大說文小篆很多字都顯示不出。譬如我記得「十」字便顯示爲空,查字型中有此字模,然而編碼映射有誤。此字型需要將編碼轉成萬國碼

heangfat avatar Dec 20 '19 00:12 heangfat

@ZhenxingXiao Sounds like an appealing idea! There is already a nice VS code plugin by @antfu , perhaps we could reach out to them to see if it would be feasible to add vertical text, and how we can collaborate to make that happen ;) Thanks!

Great! it will may look more like chinese classical book. 😁I will try to research that, and I will give a PR if I can figure it out.

ZhenxingXiao avatar Dec 20 '19 05:12 ZhenxingXiao

Hi there, Good suggestion! I'm thinking about doing that for the online IDE, perhaps as a toggle-able mode. But of course, as minexo79 mentioned, some re-writing needs to take place. My current priority is writing a language specification, but I'll gladly explore the vertical text orientation idea when I have time. Will update here when it's done! Thanks.

Hi, Do you think it is a good idea if we create a plugin of vs code to support this language. maybe the editor can implement the vertical test orientation idea. it may show Classical Chinese better.

@ZhenxingXiao You may take a look at the following Vertical Editors: EverEdit for Windows Mou for Mac 縱式 for Mac

Thanks, that's a valuable suggestion!

ZhenxingXiao avatar Dec 20 '19 06:12 ZhenxingXiao

@ZhenxingXiao @LingDong- Those editors above are only for your reference. Actually I suggest you to make a new one. As far as I know, 中國科學院軟件研究所 used to realize pure vertical GUI using Qt, including all the elements in a window. You may want to contact them for this. QtV Of course, this should be a long-term plan.

yeah, it is a great idea. but there will be lots of work to do. maybe we can create a special editor base on node and electron. and we also can overwrite the render module in C/C++ if it is necessary.

ZhenxingXiao avatar Dec 20 '19 06:12 ZhenxingXiao

直排界面

縱排界面示例

heangfat avatar Dec 21 '19 06:12 heangfat

如果是那个Web IDE的话,实现竖排很简单的,加上这两条css就可以了

writing-mode: vertical-rl;
text-orientation: upright;

效果:https://i.imgur.com/UzK8Skq.png

kotritrona avatar Dec 21 '19 11:12 kotritrona

我在向vscode官方团队建议加入这个功能,大家请帮忙个投票(点击大拇指👍图标),谢谢!链接:https://github.com/microsoft/vscode/issues/152005

I submitted a feature to vscode for adding this feature. Please upvote the issue by clicking the thumbs up 👍 button. Thank you! Link: https://github.com/microsoft/vscode/issues/152005

UltimatePea avatar Jun 30 '22 21:06 UltimatePea