Commit History

Author SHA1 Message Date
  Coyote d2b8f4d2f8 fix: getDefaultLineHeight should return default font family line height for unknown font (#6399) 2 years ago
  Aakansha Doshi 83383977f5 feat: add line height attribute to text element (#6360) 2 years ago
  zsviczian 5c8941467d fix: division by zero in findFocusPointForEllipse leads to infinite loop in wrapText freezing Excalidraw (#6377) 2 years ago
  Aakansha Doshi ab49cad6b1 perf: break early if the line width <= max width of the container (#6347) 2 years ago
  Aakansha Doshi 0f06fa3851 feat: create bound container from text (#6301) 2 years ago
  Aakansha Doshi 0e95e2b386 fix: compute container height from bound text correctly (#6273) 2 years ago
  Aakansha Doshi 9659254fd6 feat: improve text measurements in bound containers (#6187) 2 years ago
  Aakansha Doshi 5368ddef74 fix: improve text wrapping inside rhombus and more fixes (#6265) 2 years ago
  Aakansha Doshi 88ff32e9b3 fix: improve text wrapping in ellipse and alignment (#6172) 2 years ago
  Aakansha Doshi e41ea9562b fix: set the width correctly using measureText in editor (#6162) 2 years ago
  Ignacio Cuadra b52c8943e4 fix: :bug: broken emojis when wrap text (#6153) 2 years ago
  Aakansha Doshi af3b93c410 fix: use canvas measureText to calculate width in measureText (#6030) 2 years ago
  Aakansha Doshi d2e371cdf0 fix: don't push whitespace to next line when exceeding max width during wrapping and make sure to use same width of text editor on DOM when measuring dimensions (#5996) 2 years ago
  Aakansha Doshi 4cb6f09559 fix: set the dimensions of bound text correctly (#5710) 2 years ago
  Aakansha Doshi 5c67329be6 fix: Reduce padding to 5px for bounded text (#4530) 3 years ago
  Aakansha Doshi 38236bc5e0 tests: Add tests for wrapText util (#4495) 3 years ago