Skip to content

Commit

Permalink
修复统计行字体显示bug
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyanbin committed Nov 14, 2017
1 parent 5efd085 commit c5649e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
11. support annotation mode.

> video display
![set table background](/img/bg.png)

![Base function](/img/table.gif)

Expand All @@ -40,7 +41,7 @@ allprojects {
```gradle
dependencies {
compile 'com.github.huangyanbin:SmartTable:1.0'
compile 'com.github.huangyanbin:SmartTable:1.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
11. 支持注解模式。

> 视频展示
![设置背景](/img/bg.png)
![基本功能](/img/table.gif)

![缩放功能](/img/zoom.gif)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ private void drawText(Canvas canvas, int left, int top, int right, int bottom, S
path.close();
config.getGridStyle().fillPaint(paint);
canvas.drawPath(path, paint);
config.getColumnTitleStyle().fillPaint(paint);
config.getCountStyle().fillPaint(paint);
paint.setTextSize(paint.getTextSize()*config.getZoom());
paint.setTextAlign(Paint.Align.CENTER);
canvas.drawText(text, (right + left) / 2, DrawUtils.getTextCenterY((bottom + top) / 2, paint), paint);
Expand Down
Binary file added img/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c5649e8

Please sign in to comment.