mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Merge branch 'release/1.3' of github.com:jklingen/greenshot into release/1.3
This commit is contained in:
commit
ea84a5fdf3
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ namespace Greenshot.Editor.Drawing
|
|||
EllipseContainer.DrawEllipse(rect, graphics, rm, 0, Color.Transparent, fillColor, false);
|
||||
}
|
||||
|
||||
float fontSize = Math.Min(Math.Abs(Width), Math.Abs(Height)) / 1.4f;
|
||||
float fontSize = Math.Min(Math.Abs(Width), Math.Abs(Height)) / 3f;
|
||||
using FontFamily fam = new FontFamily(FontFamily.GenericSansSerif.Name);
|
||||
using Font font = new Font(fam, fontSize, FontStyle.Bold, GraphicsUnit.Pixel);
|
||||
TextContainer.DrawText(graphics, rect, 0, lineColor, false, _stringFormat, text, font);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue