Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG] 复制粘贴单元格之后字体变了 #29

Closed
javahuang opened this issue Sep 8, 2020 · 1 comment
Closed

[BUG] 复制粘贴单元格之后字体变了 #29

javahuang opened this issue Sep 8, 2020 · 1 comment

Comments

@javahuang
Copy link
Contributor

Describe the bug
单元格复制粘贴之后字体发生了变化

To Reproduce
Steps to reproduce the behavior:

  1. 复制一个单元格
  2. 切换到另外一个单元格输入
  3. 再切换一个单元格粘贴
  4. 粘贴后的字体和第二步复制的字体大小不一致,另外按 command 键,会在公式栏显示之前复制的值

What is expected?
css length 文档可知,1in = 2.54cm = 96px,1pt = 1/72nd of 1in. 所以 px 可以直接换算成 pt,和设备的 dpr 是没有关系的。

Screenshots or demo
1222

Environment

  • OS: Mac
  • Browser Version: Chrome Version 85.0.4183.83 (Official Build) (64-bit),Chrome
  • Luckysheet Version: latest

Additional context
Add any other context about the problem here.

javahuang added a commit to javahuang/Luckysheet that referenced this issue Sep 8, 2020
dream-num pushed a commit that referenced this issue Sep 9, 2020
@Dushusir
Copy link
Member

copy text will get origin font family

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

No branches or pull requests

2 participants