Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fonts are blurred on 2k monitor, but there is no problem with 1080p monitor #919

Closed
TobiasTao opened this issue Aug 2, 2020 · 4 comments

Comments

@TobiasTao
Copy link

Describe the bug
Fonts are blurred on 2k monitor, but there is no problem with 1080p monitor。
The 1080p monitor is an external monitor for my laptop。
To Reproduce
Steps to reproduce the behavior:

clone the repo: [email protected]:TobiasTao/tauri-api-demos.git
yarn
yarn fe:dev
yarn be:dev

Screenshots
2k:
image
2k with chrome:
image
1080p:
image

Platform and Versions (please complete the following information):

[tauri]: running info

Operating System - Windows_NT(10.0.18363) - win32/x64
Microsoft Edge - 44.18362.449.0_neutral__8wekyb3d8bbwe

Node.js environment
  Node.js - 12.18.3
  tauri.js - 0.11.0

Rust environment
  rustc - 1.45.0
  cargo - 1.45.0
  tauri-bundler - 0.9.1

Global packages
  NPM - 6.14.6
  yarn - 1.22.4

App directory structure
/.git
/.idea
/.vscode
/dist
/e2e
/node_modules
/src
/src-tauri

App
  tauri.rs - 0.9.0
  mode - embedded-server
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'
  distDir - ../dist/tauri-api-demos
  devPath - http://localhost:4200
@Miaourt
Copy link

Miaourt commented Aug 18, 2020

I believe this is linked to webview/webview_rust#49

@aquacash5
Copy link

Just adding my experience.

Surface Pro 7

[tauri]: running info

Operating System - Windows_NT(10.0.18363) - win32/x64
Microsoft Edge - 44.18362.449.0_neutral__8wekyb3d8bbwe

Node.js environment
  Node.js - 14.12.0
  tauri.js - 0.12.0

Rust environment
  rustc - 1.46.0
  cargo - 1.46.0
  tauri-bundler - 0.9.3

Global packages
  NPM - 6.14.8
  yarn - 1.22.5

App directory structure
/dist
/elm-stuff
/node_modules
/src-elm
/src-tauri

App
  tauri.rs - 0.9.2
  mode - embedded-server
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'
  distDir - ../dist
  devPath - http://localhost:3000

image

@victorhqc
Copy link

This can be fixed with a workaround in any project using Tauri, might be a good idea to document this somewhere.

@nothingismagick
Copy link
Member

I am closing this issue in favor of the one where @victorhqc filed a fix in #1074

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants