Fixed typo and increased the size of the cache used by DoGetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
33c956e61c
commit
06fe86b734
@ -371,12 +371,12 @@ void wxDCBase::DoDrawSpline( wxList *points )
|
||||
|
||||
|
||||
// Each element of the widths array will be the width of the string up to and
|
||||
// including the coresoponding character in text. This is the generic
|
||||
// including the coresponding character in text. This is the generic
|
||||
// implementation, the port-specific classes should do this with native APIs
|
||||
// if available and if faster. Note: pango_layout_index_to_pos is much slower
|
||||
// than calling GetTextExtent!!
|
||||
|
||||
#define FWC_SIZE 128
|
||||
#define FWC_SIZE 256
|
||||
|
||||
class FontWidthCache
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user