summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b15de17)
raw | patch | inline | side by side (parent: b15de17)
author | cyreve <cyreve@users.sourceforge.net> | |
Sat, 17 Feb 2007 14:23:13 +0000 (14:23 +0000) | ||
committer | cyreve <cyreve@users.sourceforge.net> | |
Sat, 17 Feb 2007 14:23:13 +0000 (14:23 +0000) |
src/libnrtype/Layout-TNG-Input.cpp | patch | blob | history |
index 499f67a7b8993c1318b38fd9b1dced6b20ec37a9..30a1050af52ac72026051466547b09498e9d318c 100755 (executable)
@@ -181,9 +181,9 @@ static Layout::Alignment text_anchor_to_alignment(unsigned anchor, Layout::Direc
{
switch (anchor) {
default:
- case SP_CSS_TEXT_ANCHOR_START: return para_direction == Layout::LEFT_TO_RIGHT ? Layout::LEFT : Layout::RIGHT;
+ case SP_CSS_TEXT_ANCHOR_START: return Layout::LEFT;
case SP_CSS_TEXT_ANCHOR_MIDDLE: return Layout::CENTER;
- case SP_CSS_TEXT_ANCHOR_END: return para_direction == Layout::LEFT_TO_RIGHT ? Layout::RIGHT : Layout::LEFT;
+ case SP_CSS_TEXT_ANCHOR_END: return Layout::RIGHT;
}
}