Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

khmr km book vertical-text #122

Open
xfq opened this issue Feb 22, 2024 · 4 comments
Open

khmr km book vertical-text #122

xfq opened this issue Feb 22, 2024 · 4 comments
Labels
i:writing_mode Writing mode m:book Book text s:khmr khmer

Comments

@xfq
Copy link
Member

xfq commented Feb 22, 2024

khmer


tag: vertical-text Khmer text run vertically on book spines. The text is read from top to bottom.
source: Photo by Li Shuxin

@xfq xfq added pending Awaiting label assignment by W3C staff. m:book Book text i:writing_mode Writing mode s:khmr khmer and removed pending Awaiting label assignment by W3C staff. labels Feb 22, 2024
@r12a
Copy link
Contributor

r12a commented Feb 22, 2024

I think the direction is actually top to bottom.

@patchew
Copy link

patchew commented Feb 23, 2024

This is actually horizontal, like English titling (top downward, left to right; as opposed to French titling, which is bottom upward). There's no turning of characters (or character clusters), like one could find in English:

V
e
r
t
i
c
a
l

The middle book has ហម ឆាយលី rotated 90º clockwise.

@xfq
Copy link
Member Author

xfq commented Feb 23, 2024

I think the direction is actually top to bottom.

Sorry, I made a mistake. I have updated the description above.


This is actually horizontal, like English titling (top downward, left to right; as opposed to French titling, which is bottom upward). There's no turning of characters (or character clusters), like one could find in English:

This depends on how you understand it. Vertical writing mode means that the direction in which characters progress is from top to bottom (or from bottom to top), but the orientation of each character (CSS text-orientation) may be upright or sideways.

The middle book has ហម ឆាយលី rotated 90º clockwise.

Indeed.

@r12a
Copy link
Contributor

r12a commented Feb 28, 2024

I thought i'd already left a comment similar to that of @patchew but i don't see it here. I agree with him that this is actually horizontal text that is rotated clockwise as a block to make a book sleeve. You would use writing-mode:sideways-xx to achieve this, rather than writing-mode:vertical-xx, which is what's used when letters generally sit upright and embedded non-CJKM text is embedded alongside them.

What you're seeing here is no different from what we do in English, or here French books. There are no special techniques involved in producing the text other than to rotate the block (ie. not the letters or text). I do note, however, that this nicely shows how spine text in French usually goes from bottom to top, whereas in English (and it seems, Khmer) books it usually runs top to bottom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i:writing_mode Writing mode m:book Book text s:khmr khmer
Projects
None yet
Development

No branches or pull requests

3 participants