typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
読み取り中…
検索中…
一致する文字列を見つけられません
utf.hpp ファイル
#include <cstddef>
#include <string>

[ソースコード]

名前空間

namespace  typeset
 geom — 単位と幾何
 
namespace  typeset::text
 text/char_class — JLReq の文字クラス
 

関数

char32_t typeset::text::codePointAt (const std::u16string &s, size_t i, size_t &length)
 UTF-16 の位置 i からコードポイントを取り出す(サロゲートペア対応)
 
char32_t typeset::text::codePointAt (const std::u16string &s, size_t i)
 
void typeset::text::appendCodePoint (std::u16string &out, char32_t cp)
 コードポイントを UTF-16 に追加する
 
std::u16string typeset::text::utf8ToUtf16 (const std::string &utf8)
 
std::string typeset::text::utf16ToUtf8 (const std::u16string &utf16)