Skip to content

Commit

Permalink
Update scale factor for 1080p screen
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenmiao committed Jul 16, 2023
1 parent 374a189 commit fdf8abf
Show file tree
Hide file tree
Showing 79 changed files with 702 additions and 7,435 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,12 @@ venv.bak/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json
*.json
*.log
*.ini
*.test
*.tst
*.txt

# Pyre type checker
.pyre/
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,18 @@
23. Update color rule and relation under ryb system.
24. Optimize data type.
25. Change default font to LXGW WenKai.

# v2.8.35-x3d3s3
* Date: July 16, 2023
* Tag: https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.35
* Comments:
1. Update scale factor for 1080p screen.
2. Change color cube ratio.
3. Update view icons.
4. Update translations.
5. Update button logic.
6. Fix fcitx input bug on Ubuntu.
7. Change default font to Noto Sans.
8. Update interface theme colors.
9. Upgrade ersion of PyQt5 from 5.12.1 to 5.15.6.
10. Upgrade version of settings.json from 2 to 3 (x3d3s3).
57 changes: 12 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In the age of digital creativity, the color palette has become an indispensable

Rickrack (**R**e**a**l-t**i**me **C**olor **K**it) is a free and user-friendly color editor. It is designed to generate a set of harmonious colors from the color wheel or other places. You can share these colors with your friends, or apply them into your creative works. What’s more, you can export them into individual files and import them into other softwares such as Adobe Photoshop, GIMP, Krita, Pencil 2D and Clip Studio Paint. Rickrack can run normally on operating systems such as Windows, Linux, and macOS.

[:rocket: v2.8.27 Update Notes](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.27)
[:rocket: v2.8.35 Update Notes](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.35)

[:house: Rickrack](https://eigenmiao.com/rickrack)

Expand All @@ -24,7 +24,7 @@ Rickrack (**R**e**a**l-t**i**me **C**olor **K**it) is a free and user-friendly c

焰火十二卷(实时色彩工具箱)是一款免费且实用的色彩编辑器。它可以帮助你从色轮或者其他地方生成一组和谐的色彩。你可以将这些色彩分享给其他人,或者应用到你自己的创作当中。此外,你也可以将色彩组或者色库导出为单独的色彩文档并导入其他软件中(如 Adobe Photoshop、GIMP、Krita、Pencil 2D 以及优动漫 Paint 等)。焰火十二卷可以在 Windows、Linux、macOS 等操作系统上正常运行。

[:rocket: v2.8.27 更新说明](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.27)
[:rocket: v2.8.35 更新说明](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.35)

[:house: 焰火十二卷](https://eigenmiao.com/yanhuo)

Expand Down Expand Up @@ -62,6 +62,7 @@ Rickrack (**R**e**a**l-t**i**me **C**olor **K**it) is a free and user-friendly c
* [License for Rickrack](#license-for-rickrack)
* [License for Required Packages](#license-for-required-packages)
* [More Information](#more-information)
* [Contributing](#contributing)
* [Acknowledgment](#acknowledgment)

# Introduction Translations
Expand Down Expand Up @@ -195,7 +196,7 @@ Support the continuous development of Rickrack!

# Installation
## Current Release
The latest preview version is [v2.8.27](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.27).
The latest preview version is [v2.8.35](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.35).

## Install Software
### Recommend: Install on Windows 10 or 11 via WinGet tool
Expand All @@ -204,7 +205,7 @@ winget install rickrack
```

## Install on other platforms
Download Software from [Github](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.27) or [Sourceforge](https://sourceforge.net/projects/rickrack/files/v2.8.27/). The installation steps are presented in [tutorials](https://eigenmiao.com/2021/12/12/rickrack-tutorial-en-v2.3.4/#Installation).
Download Software from [Github](https://github.com/eigenmiao/Rickrack/releases/tag/v2.8.35) or [Sourceforge](https://sourceforge.net/projects/rickrack/files/v2.8.35/). The installation steps are presented in [tutorials](https://eigenmiao.com/2021/12/12/rickrack-tutorial-en-v2.3.4/#Installation).

Here is a [video tutorial](https://www.bilibili.com/video/BV17r4y1L7R6/).

Expand Down Expand Up @@ -277,7 +278,7 @@ pip install rickrack
rickrack -h

# Run Rickrack.
rickrack
rickrack -d .
```

## How to Build the Module
Expand Down Expand Up @@ -305,7 +306,7 @@ Rickrack is a free software, which is distributed in the hope that it will be us

All images, documents and translations in Rickrack [code repository](https://github.com/eigenmiao/Rickrack) are licensed under [Creative Commons Attribution-NonCommercial-ShareAlike License 4.0 (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) unless stating additionally.

Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for interface display, which is an open-source Chinese font derived from Fontworks' Klee One. This font is open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL).
Rickrack default uses [Noto Sans](https://fonts.google.com/noto) font family for interface display. These fonts are open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL). Rickrack only carries basic fonts. All fonts can be downloaded here: [all fonts](https://fonts.google.com/noto/fonts).

## License for Required Packages
| Package | Version | License |
Expand All @@ -320,7 +321,7 @@ Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for
| Pillow | 8.4.0 | HPND |
| pip | 21.3.1 | MIT |
| PyInstaller | 3.4 | GPLv2 or Later |
| PyQt5 | 5.12.1 | GPLv3 |
| PyQt5 | 5.15.6 | GPLv3 |
| PyQt5_sip | 4.19.19 | SIP |
| pywin32 | 302 | PSF |
| pywin32-ctypes | 0.2.0 | BSD |
Expand All @@ -343,49 +344,15 @@ Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for
<div align="right"><a href="#table-of-content">:arrow_up: Back to TOC :arrow_up:</a></div>

# Contributing
This project welcomes contributions of all types. If you want to contribute code (new features, or bug fixes) to this project, please contact me first. Thanks.
Welcome to participate in community discussions, report bugs and submit feature-requests, but it is not recommended to contribute code to this project.

<div align="right"><a href="#table-of-content">:arrow_up: Back to TOC :arrow_up:</a></div>

# Acknowledgment
## Reviews
<table>
<tbody>
<tr>
<td align="center" valign="top" width="20%"><a href="https://www.youtube.com/watch?v=OUnktTCtv3E"><img src="https://yt3.googleusercontent.com/ytc/AGIKgqPSY98ka46AxjcUBDDntl1NHA8lL4PFMZt6g75TFA=s176-c-k-c0x00ffffff-no-rj" width="90px;"/><br /><sub><b>TJ&nbsp;FREE@Youtube</b></sub></a></td>
<td align="center" valign="top" width="20%"><a href="https://www.softpedia.com/get/Multimedia/Graphic/Graphic-Others/RickRack.shtml"><img src="https://cdnssl.softpedia.com/_img/editors/Robert%20Condorache.jpg?v=2020" width="90px;"/><br /><sub><b>Robert&nbsp;Condorache@Softpedia</b></sub></a></td>
<td align="center" valign="top" width="20%"><a href="https://sspai.com/u/eigenmiao/updates"><img src="https://cdn.sspai.com/2023/01/14/eab0a38256bc3a045f8d5bf76dd30072.png?imageMogr2/auto-orient/quality/95/thumbnail/!200x200r/gravity/Center/crop/200x200/interlace/1" width="90px;"/><br /><sub><b>本征喵函数@少数派</b></sub></a></td>
</tr>
</tbody>
</table>

## Translators
<table>
<tbody>
<tr>
<td align="center" valign="top" width="20%"><a href="https://poeditor.com/join/project?hash=kBeQjfxCES"><img src="https://avatars.githubusercontent.com/u/59333735?v=4" width="90px;"/><br /><sub><b>Eigenmiao@POEditor</b></sub></a></td>
</tr>
</tbody>
</table>

## Feature Implementation & Bug Fix
<table>
<tbody>
<tr>
<td align="center" valign="top" width="20%"><a href="https://github.com/eigenmiao"><img src="https://avatars.githubusercontent.com/u/59333735?v=4" width="90px;"/><br /><sub><b>Eigenmiao@Github</b></sub></a></td>
</tr>
</tbody>
</table>
## Reviewers
[TJ FREE@Youtube](https://www.youtube.com/watch?v=OUnktTCtv3E), [Robert Condorache@Softpedia](https://www.softpedia.com/get/Multimedia/Graphic/Graphic-Others/RickRack.shtml)

## Software Dependency
<table>
<tbody>
<tr>
<td align="center" valign="top" width="20%"><a href="https://github.com/eigenmiao"><img src="https://avatars.githubusercontent.com/u/59333735?v=4" width="90px;"/><br /><sub><b>Eigenmiao@Github</b></sub></a></td>
<td align="center" valign="top" width="20%"><a href="https://github.com/vedantmgoyal2009"><img src="https://avatars.githubusercontent.com/u/83997633?v=4" width="90px;"/><br /><sub><b>Vedantmgoyal2009@Github</b></sub></a></td>
<td align="center" valign="top" width="20%"><a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?s=64&v=4" width="90px;"/><br /><sub><b>Dependabot@Github</b></sub></a></td>
</tr>
</tbody>
</table>
[Vedantmgoyal2009@Github](https://github.com/vedantmgoyal2009), [Dependabot@Github](https://github.com/apps/dependabot)

<div align="right"><a href="#rickrack">:arrow_up: Back to Top :arrow_up:</a> <a href="#table-of-content">:arrow_up: Back to TOC :arrow_up:</a></div>
3 changes: 2 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ These versions of Rickrack are currently being supported with security updates.

| Version | Supported |
| --------------------- | ------------------ |
| v2.8.27-x2d3s3-pre | :white_check_mark: |
| v2.8.35-x3d3s3-pre | :white_check_mark: |
| v2.8.27-x2d3s3-pre | :x: |
| v2.8.5-x2d3s3-pre | :x: |
| v2.7.26-x2d3s3-stable | :white_check_mark: |
| v2.7.25-x2d3s3-stable | :x: |
Expand Down
2 changes: 1 addition & 1 deletion demo/00_usage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Rickrack is a free software, which is distributed in the hope that it will be us

All images, documents and translations in Rickrack [code repository](https://github.com/eigenmiao/Rickrack) are licensed under [Creative Commons Attribution-NonCommercial-ShareAlike License 4.0 (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) unless stating additionally.

Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for interface display, which is an open-source Chinese font derived from Fontworks' Klee One. This font is open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL).
Rickrack default uses [Noto Sans](https://fonts.google.com/noto) font family for interface display. These fonts are open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL). Rickrack only carries basic fonts. All fonts can be downloaded here: [all fonts](https://fonts.google.com/noto/fonts).

Please visit https://github.com/eigenmiao/Rickrack for more infomation about Rickrack.

Expand Down
2 changes: 1 addition & 1 deletion demo/01_color_sets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Rickrack is a free software, which is distributed in the hope that it will be us

All images, documents and translations in Rickrack [code repository](https://github.com/eigenmiao/Rickrack) are licensed under [Creative Commons Attribution-NonCommercial-ShareAlike License 4.0 (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) unless stating additionally.

Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for interface display, which is an open-source Chinese font derived from Fontworks' Klee One. This font is open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL).
Rickrack default uses [Noto Sans](https://fonts.google.com/noto) font family for interface display. These fonts are open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL). Rickrack only carries basic fonts. All fonts can be downloaded here: [all fonts](https://fonts.google.com/noto/fonts).

Please visit https://github.com/eigenmiao/Rickrack for more infomation about Rickrack.

Expand Down
2 changes: 1 addition & 1 deletion demo/02_color_palettes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Rickrack is a free software, which is distributed in the hope that it will be us

All images, documents and translations in Rickrack [code repository](https://github.com/eigenmiao/Rickrack) are licensed under [Creative Commons Attribution-NonCommercial-ShareAlike License 4.0 (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) unless stating additionally.

Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for interface display, which is an open-source Chinese font derived from Fontworks' Klee One. This font is open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL).
Rickrack default uses [Noto Sans](https://fonts.google.com/noto) font family for interface display. These fonts are open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL). Rickrack only carries basic fonts. All fonts can be downloaded here: [all fonts](https://fonts.google.com/noto/fonts).

Please visit https://github.com/eigenmiao/Rickrack for more infomation about Rickrack.

Expand Down
2 changes: 1 addition & 1 deletion demo/03_plot_scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Rickrack is a free software, which is distributed in the hope that it will be us

All images, documents and translations in Rickrack [code repository](https://github.com/eigenmiao/Rickrack) are licensed under [Creative Commons Attribution-NonCommercial-ShareAlike License 4.0 (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) unless stating additionally.

Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for interface display, which is an open-source Chinese font derived from Fontworks' Klee One. This font is open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL).
Rickrack default uses [Noto Sans](https://fonts.google.com/noto) font family for interface display. These fonts are open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL). Rickrack only carries basic fonts. All fonts can be downloaded here: [all fonts](https://fonts.google.com/noto/fonts).

Please visit https://github.com/eigenmiao/Rickrack for more infomation about Rickrack.

Expand Down
2 changes: 1 addition & 1 deletion demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Rickrack is a free software, which is distributed in the hope that it will be us

All images, documents and translations in Rickrack [code repository](https://github.com/eigenmiao/Rickrack) are licensed under [Creative Commons Attribution-NonCommercial-ShareAlike License 4.0 (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) unless stating additionally.

Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for interface display, which is an open-source Chinese font derived from Fontworks' Klee One. This font is open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL).
Rickrack default uses [Noto Sans](https://fonts.google.com/noto) font family for interface display. These fonts are open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL). Rickrack only carries basic fonts. All fonts can be downloaded here: [all fonts](https://fonts.google.com/noto/fonts).

Please visit https://github.com/eigenmiao/Rickrack for more infomation about Rickrack.

Expand Down
6 changes: 3 additions & 3 deletions rickrack/rickrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"""

__VERSION__ = """
v2.8.27-x2d3s3-pre
v2.8.35-x3d3s3-pre
"""

__AUTHOR__ = """
Eigenmiao ([email protected])
"""

__DATE__ = """
June 25, 2023
July 16, 2023
"""

__HELP__ = """
Expand Down Expand Up @@ -796,7 +796,7 @@ def run(self, dp_argv={}, dp_proj=""):
dirname, basename = None, None

else:
dirname, basename = None, None
dirname, basename = para_dir(".")

if not dirname or not basename:
dirname, basename = para_dir(os.path.abspath(os.path.dirname(__file__)))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name="Rickrack",
version="2.8.27",
version="2.8.35",
author="Eigenmiao",
author_email="[email protected]",
description="Generate harmonious colors freely.",
Expand Down
2 changes: 1 addition & 1 deletion src/build/settings/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"app_name": "Rickrack",
"author": "Eigenmiao",
"main_module": "src/main/python/main.py",
"version": "2.8.27"
"version": "2.8.35"
}
2 changes: 1 addition & 1 deletion src/main/icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Rickrack is a free software, which is distributed in the hope that it will be us

All images, documents and translations in Rickrack [code repository](https://github.com/eigenmiao/Rickrack) are licensed under [Creative Commons Attribution-NonCommercial-ShareAlike License 4.0 (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) unless stating additionally.

Rickrack default uses [LXGW WenKai](https://github.com/lxgw/LxgwWenKai) font for interface display, which is an open-source Chinese font derived from Fontworks' Klee One. This font is open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL).
Rickrack default uses [Noto Sans](https://fonts.google.com/noto) font family for interface display. These fonts are open-sourced under [SIL Open Font License 1.1](http://scripts.sil.org/OFL). Rickrack only carries basic fonts. All fonts can be downloaded here: [all fonts](https://fonts.google.com/noto/fonts).

Please visit https://github.com/eigenmiao/Rickrack for more infomation about Rickrack.

Expand Down
3 changes: 0 additions & 3 deletions src/main/python/cguis/design/box_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def setupUi(self, BoxDialog):
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Reset)
self.buttonBox.setObjectName("buttonBox")
self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 4)

self.retranslateUi(BoxDialog)
self.buttonBox.accepted.connect(BoxDialog.accept)
self.buttonBox.rejected.connect(BoxDialog.reject)
Expand All @@ -81,5 +80,3 @@ def retranslateUi(self, BoxDialog):
self.name_label.setText(_translate("BoxDialog", "Name:"))
self.hec_label.setText(_translate("BoxDialog", "Color:"))
self.index_label.setText(_translate("BoxDialog", "Index:"))


3 changes: 0 additions & 3 deletions src/main/python/cguis/design/info_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def setupUi(self, InfoDialog):
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Reset)
self.buttonBox.setObjectName("buttonBox")
self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 4)

self.retranslateUi(InfoDialog)
self.buttonBox.accepted.connect(InfoDialog.accept)
self.buttonBox.rejected.connect(InfoDialog.reject)
Expand All @@ -89,5 +88,3 @@ def retranslateUi(self, InfoDialog):
self.rule_label.setText(_translate("InfoDialog", "Rule:"))
self.time_label.setText(_translate("InfoDialog", "Time:"))
self.desc_label.setText(_translate("InfoDialog", "Description"))


Loading

0 comments on commit fdf8abf

Please sign in to comment.