Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LastMonopoly committed Feb 20, 2023
1 parent 1549006 commit aca0f68
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.0.0

* Fix the font loading logic for Vivo
* Should work on most platforms

## 0.6.1

* Update screenshots
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Inside `pubspec.yaml` file, add the following dependency:
```yaml
dependencies:
...
chinese_font_library: ^0.6.1
chinese_font_library: ^1.0.0
```
## Roadmap
Expand Down
8 changes: 4 additions & 4 deletions example/lib/text_theme_demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ class TextThemeDemo extends StatelessWidget {
return Theme(
data: ThemeData(
textTheme: const TextTheme(
headlineLarge: TextStyle(fontStyle: FontStyle.italic),
displaySmall: TextStyle(fontStyle: FontStyle.italic),
displayMedium: TextStyle(fontStyle: FontStyle.italic),
displayLarge: TextStyle(fontStyle: FontStyle.italic),
headlineLarge: TextStyle(),
displaySmall: TextStyle(),
displayMedium: TextStyle(),
displayLarge: TextStyle(),
).apply(fontFamily: 'LatoLato').useSystemChineseFont(),
),
child: const ThemedTextList(),
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.6.1"
version: "1.0.0"
clock:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: chinese_font_library
description: Helper package for rendering Chinese fonts, including cross-platform Chinese font family fallback & dynamic font loader.
version: 0.6.1
version: 1.0.0
homepage: https://github.com/LastMonopoly/chinese_font_library

environment:
Expand Down

0 comments on commit aca0f68

Please sign in to comment.