winlayout.cxx (248093e9) winlayout.cxx (729e7e85)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1694 unchanged lines hidden (view full) ---

1703 rMinGlyphPos = rVisualItem.mnMinGlyphPos;
1704 rEndGlyphPos = rVisualItem.mnEndGlyphPos;
1705
1706 // return early when the whole item is of interest
1707 if( (mnMinCharPos <= rVisualItem.mnMinCharPos)
1708 && (rVisualItem.mnEndCharPos <= mnEndCharPos ) )
1709 return true;
1710
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1694 unchanged lines hidden (view full) ---

1703 rMinGlyphPos = rVisualItem.mnMinGlyphPos;
1704 rEndGlyphPos = rVisualItem.mnEndGlyphPos;
1705
1706 // return early when the whole item is of interest
1707 if( (mnMinCharPos <= rVisualItem.mnMinCharPos)
1708 && (rVisualItem.mnEndCharPos <= mnEndCharPos ) )
1709 return true;
1710
1711 // get glyph range from char range by looking at cluster boundries
1711 // get glyph range from char range by looking at cluster boundaries
1712 // TODO: optimize for case that LTR/RTL correspond to monotonous glyph indexes
1713 rMinGlyphPos = rVisualItem.mnEndGlyphPos;
1714 int nMaxGlyphPos = 0;
1715
1716 int i = mnMinCharPos;
1717 if( i < rVisualItem.mnMinCharPos )
1718 i = rVisualItem.mnMinCharPos;
1719 int nCharPosLimit = rVisualItem.mnEndCharPos;

--- 1477 unchanged lines hidden ---
1712 // TODO: optimize for case that LTR/RTL correspond to monotonous glyph indexes
1713 rMinGlyphPos = rVisualItem.mnEndGlyphPos;
1714 int nMaxGlyphPos = 0;
1715
1716 int i = mnMinCharPos;
1717 if( i < rVisualItem.mnMinCharPos )
1718 i = rVisualItem.mnMinCharPos;
1719 int nCharPosLimit = rVisualItem.mnEndCharPos;

--- 1477 unchanged lines hidden ---