typeset 0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
読み取り中…
検索中…
一致する文字列を見つけられません
typeset::SpacingOptions 構造体

#include <typeset/style.hpp>

公開変数類

bool punctuationSpacing = true
 約物の詰め(JLReq のアキ量表を適用する)。false ならベタ組み
 
KinsokuLevel kinsoku = KinsokuLevel::Strict
 禁則の強さ
 
float weakKinsokuPenalty = 500.0f
 弱い禁則のペナルティ(Knuth–Plass の demerits に効く。Greedy では「切れる」扱い)
 
std::u16string lineStartProhibited
 禁則の追加・除外(KAG3 の wwFollowing / wwLeading 相当)。文字クラスより優先する
 
std::u16string lineStartAllowed
 行頭禁則から外す文字
 
std::u16string lineEndProhibited
 行末に置かない文字を足す
 
std::u16string lineEndAllowed
 行末禁則から外す文字
 
bool hangingPunctuation = false
 行末に来た句読点を版面外へ出す
 
bool latinGap = true
 和欧間のアキを入れる
 
float kanjiSkipStretch = 0.125f
 和字同士の字間に許す伸び(em)。JLReq の追い出し(字間を空けて行末を揃える)に 使う。pTeX の kanjiskip の stretch に相当。0 でベタ組み固定
 
float kanjiSkipShrink = 0.0f
 和字同士の字間に許す縮み(em)。通常 0(詰めるのは約物のアキだけ)
 

詳解

style.hpp179 行目に定義があります。

メンバ詳解

◆ punctuationSpacing

bool typeset::SpacingOptions::punctuationSpacing = true

約物の詰め(JLReq のアキ量表を適用する)。false ならベタ組み

style.hpp181 行目に定義があります。

◆ kinsoku

KinsokuLevel typeset::SpacingOptions::kinsoku = KinsokuLevel::Strict

禁則の強さ

style.hpp183 行目に定義があります。

◆ weakKinsokuPenalty

float typeset::SpacingOptions::weakKinsokuPenalty = 500.0f

弱い禁則のペナルティ(Knuth–Plass の demerits に効く。Greedy では「切れる」扱い)

style.hpp185 行目に定義があります。

◆ lineStartProhibited

std::u16string typeset::SpacingOptions::lineStartProhibited

禁則の追加・除外(KAG3 の wwFollowing / wwLeading 相当)。文字クラスより優先する

行頭に置かない文字を足す

style.hpp187 行目に定義があります。

◆ lineStartAllowed

std::u16string typeset::SpacingOptions::lineStartAllowed

行頭禁則から外す文字

style.hpp188 行目に定義があります。

◆ lineEndProhibited

std::u16string typeset::SpacingOptions::lineEndProhibited

行末に置かない文字を足す

style.hpp189 行目に定義があります。

◆ lineEndAllowed

std::u16string typeset::SpacingOptions::lineEndAllowed

行末禁則から外す文字

style.hpp190 行目に定義があります。

◆ hangingPunctuation

bool typeset::SpacingOptions::hangingPunctuation = false

行末に来た句読点を版面外へ出す

style.hpp192 行目に定義があります。

◆ latinGap

bool typeset::SpacingOptions::latinGap = true

和欧間のアキを入れる

style.hpp194 行目に定義があります。

◆ kanjiSkipStretch

float typeset::SpacingOptions::kanjiSkipStretch = 0.125f

和字同士の字間に許す伸び(em)。JLReq の追い出し(字間を空けて行末を揃える)に 使う。pTeX の kanjiskip の stretch に相当。0 でベタ組み固定

style.hpp197 行目に定義があります。

◆ kanjiSkipShrink

float typeset::SpacingOptions::kanjiSkipShrink = 0.0f

和字同士の字間に許す縮み(em)。通常 0(詰めるのは約物のアキだけ)

style.hpp199 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: