equal
deleted
inserted
replaced
78 float zoomFactor = (float)cache->fontZoomFactor(); |
78 float zoomFactor = (float)cache->fontZoomFactor(); |
79 if(!m_popup) { |
79 if(!m_popup) { |
80 // system font to be used by popup |
80 // system font to be used by popup |
81 |
81 |
82 float newFont = 12.0f * zoomFactor /100.0f; |
82 float newFont = 12.0f * zoomFactor /100.0f; |
83 int textSize = 2; |
83 FontPlatformData* font = FontCache::getDeviceDefaultFont(newFont); |
84 FontPlatformData* font = FontCache::getDeviceDefaultFont(textSize*newFont); |
|
85 m_popup = m_callback->createFormFillPopup(font->Font()); |
84 m_popup = m_callback->createFormFillPopup(font->Font()); |
86 } |
85 } |
87 if (!m_popup) { |
86 if (!m_popup) { |
88 return; |
87 return; |
89 } |
88 } |