typeset
0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
読み取り中…
検索中…
一致する文字列を見つけられません
orientation.hpp
[詳解]
1
#ifndef TYPESET_TEXT_ORIENTATION_HPP
2
#define TYPESET_TEXT_ORIENTATION_HPP
3
4
#include <cstdint>
5
9
namespace
typeset::text
{
10
12
enum class
CharOrientation
: uint8_t {
13
Upright
,
14
Rotated
,
15
};
16
22
CharOrientation
getCharOrientation
(
char32_t
cp);
23
24
}
// namespace typeset::text
25
26
#endif
// TYPESET_TEXT_ORIENTATION_HPP
typeset::text
text/char_class — JLReq の文字クラス
Definition
style.hpp:9
typeset::text::getCharOrientation
CharOrientation getCharOrientation(char32_t cp)
U / Tu / Tr を Upright、R を Rotated として返す。Tu・Tr(縦字形へ置換して 正立させる類。括弧・句読点・波ダッシュ等)を Upright に寄せているのは、 TTB で...
typeset::text::CharOrientation
CharOrientation
縦組み中の 1 文字の向き
Definition
orientation.hpp:12
typeset::text::CharOrientation::Rotated
@ Rotated
横倒し(時計回りに 90 度)
typeset::text::CharOrientation::Upright
@ Upright
正立(縦字形置換は HarfBuzz の vert/vrt2 が行う)
typeset
text
orientation.hpp
構築:
1.9.8