Changed default font settings

- Update Program name in desktop file
This commit is contained in:
Kevin Kim
2021-04-01 18:21:49 +09:00
parent 7c981f00e9
commit 5485dcce48
5 changed files with 26 additions and 9 deletions

View File

@@ -13,6 +13,7 @@ systemback 프로그램을 하모니카에서 사용할 수 있도록 새롭게
제작가능
- 한글 인터페이스를 지원하도록 기능 추가
- 하모니카 3.0 에서 빌드하고 검증완료 (Ubuntu 18.04, LinuxMint 19.01 지원)
- 하모니카 4.0 에서 검증완료 (Ubuntu 20.04, LinuxMint 20.01 지원)
![screen1](doc/systemback-1.png)
@@ -21,9 +22,17 @@ systemback 프로그램을 하모니카에서 사용할 수 있도록 새롭게
![screen2](doc/systemback-2.png)
## 설치
### HamoniKR OS 사용자의 경우
```
# 하모니카 SUN 저장소 추가
curl -sL https://apt.hamonikr.org/setup_hamonikr.sun | sudo -E bash -
sudo apt update
sudo apt install systemback
```
### Ubuntu 18.04, 20.04, LinuxMint 19, 20.1 (Ubuntu based Linux)
```
# 하모니카 저장소 추가
curl -sL https://pkg.hamonikr.org/add-hamonikr.apt | sudo -E bash -
sudo apt install systemback
```
@@ -33,6 +42,5 @@ sudo apt install systemback
sudo apt purge -y systemback systemback-cli systemback-scheduler systemback-locales libsystemback systemback-efiboot-amd64
```
## 이슈 또는 버그
사용 중 문제를 발견하시면 root@hamonikr.org 또는 https://hamonikr.org 에서 알려주세요.

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
systemback (1.8.402hamonikr5) jin; urgency=low
* Changed default font settings
* Update Program name in desktop file
-- HamoniKR <pkg@hamonikr.org> Thu, 01 Apr 2021 18:21:08 +0900
systemback (1.8.402hamonikr4) bionic; urgency=low
* Fixed ko_KR lang show

2
debian/compat vendored
View File

@@ -1 +1 @@
9
10

View File

@@ -2,14 +2,13 @@
Encoding=UTF-8
Version=1.0
Name=Systemback
Name[ko]=Systemback
Name[ko]=시스템 스냅샷 관리
Comment=Simple system backup and restore application with extra features
Comment[ko]=다양한 기능을 제공하는 시스템 백업 및 복구 프로그램
Comment[hu]=Egyszerű rendszermentő és visszaállító alkalmazás további extra funkciókkal
Comment[ko]=시스템 스냅샷 생성 및 복구 프로그램
Exec=/usr/lib/systemback/sbsustart systemback gtk+
Type=Application
Icon=systemback
Terminal=false
NotShowIn=KDE;
Categories=System;
Keywords=backup;restore;;;;live;iso;;
Keywords=backup;restore;;;;live;iso;;Systemback;systemback;

View File

@@ -124,12 +124,15 @@ systemback::systemback() : QMainWindow(nullptr, Qt::FramelessWindowHint), ui(new
if(fnt.overline()) fnt.setOverline(false);
if(fnt.strikeOut()) fnt.setStrikeOut(false);
if(fnt.underline()) fnt.setUnderline(false);
// Overriding Default Font
fnt.setFamily("Noto Sans CJK KR");
if(! (sb::like(sb::wsclng, {"_auto_", "_1_"}) && fontInfo().pixelSize() == 15))
{
sfctr = sb::wsclng == "auto" ? fontInfo().pixelSize() > 28 ? Max : fontInfo().pixelSize() > 21 ? High : Normal : sb::wsclng == "2" ? Max : sb::wsclng == "1.5" ? High : Normal;
while(sfctr > Normal && (sgm.width() - ss(30) < ss(698) || sgm.height() - ss(30) < ss(465))) sfctr = sfctr == Max ? High : Normal;
fnt.setPixelSize(ss(15));
// fnt.setPixelSize(ss(15));
fnt.setPixelSize(ss(13));
for(QWdt wdgt : QWL{ui->storagedir, ui->liveworkdir, ui->interrupt, ui->partitiondelete}) wdgt->setFont(fnt);
qApp->setFont(fnt),
fnt.setPixelSize(ss(27)),