forked from organicmaps/organicmaps
[Experimental] Reduce min text size from 12 to 8.
This commit is contained in:
parent
453ec25b5d
commit
36053f9855
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ void ConvertStyle(CircleRuleProto const * pSrc, double scale, yg::CircleInfo & d
|
|||
|
||||
void ConvertStyle(CaptionDefProto const * pSrc, double scale, yg::FontDesc & dest)
|
||||
{
|
||||
uint8_t const h = max(static_cast<int>(pSrc->height() * scale), int(12 * scale));
|
||||
uint8_t const h = max(static_cast<int>(pSrc->height() * scale),
|
||||
static_cast<int>(8 * scale)); // replace 12 to 8 as it defined in drawing rules
|
||||
|
||||
dest = yg::FontDesc(h, ConvertColor(pSrc->color()));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue