idlehomescreen/xmluirendering/renderingplugins/xntextfactory/src/xntextadapter.cpp
equal
deleted
inserted
replaced
1042 if( lineSpaceProp ) |
1042 if( lineSpaceProp ) |
1043 { |
1043 { |
1044 lineSpace = iNode.UiEngineL()->VerticalPixelValueL( lineSpaceProp, aReference ); |
1044 lineSpace = iNode.UiEngineL()->VerticalPixelValueL( lineSpaceProp, aReference ); |
1045 } |
1045 } |
1046 |
1046 |
1047 if( lineSpace < 1 ) |
1047 if( lineSpace < 0 ) |
1048 { |
1048 { |
1049 // Must be at least 1 |
1049 // Default |
1050 lineSpace = 1; |
1050 lineSpace = 1; |
1051 } |
1051 } |
1052 |
1052 |
1053 const CAknLayoutFont* layoutFont( CAknLayoutFont::AsCAknLayoutFontOrNull( iFont ) ); |
1053 const CAknLayoutFont* layoutFont( CAknLayoutFont::AsCAknLayoutFontOrNull( iFont ) ); |
1054 |
1054 |