Ensure graphic and footprint texts have a sufficient size to be seen on screen.(bug 1909165).

This commit is contained in:
charras
2008-03-24 20:54:45 +00:00
parent 58c7bafe85
commit f34be93032
11 changed files with 364 additions and 290 deletions
+1 -1
View File
@@ -559,7 +559,7 @@ void EDA_TextStruct::CreateDrawData()
/* lorsque les chars sont trop petits pour etre dessines,
* le texte est symbolise par une barre */
m_ZoomLevelDrawable = m_Size.x / 3;
m_ZoomLevelDrawable = MAX( ABS(m_Size.x), ABS(m_Size.y) ) / 3;
dx = (espacement * nbchar) / 2;
dy = size_v / 2; /* Decalage du debut du texte / centre */