@itwin/core-backend 5.3.0-dev.2 → 5.3.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/lib/cjs/IModelDb.js +1 -1
  2. package/lib/cjs/IModelDb.js.map +1 -1
  3. package/lib/cjs/annotations/FrameGeometry.js +6 -6
  4. package/lib/cjs/annotations/FrameGeometry.js.map +1 -1
  5. package/lib/cjs/annotations/LeaderGeometry.js +4 -4
  6. package/lib/cjs/annotations/LeaderGeometry.js.map +1 -1
  7. package/lib/cjs/annotations/TextBlockGeometry.js +3 -3
  8. package/lib/cjs/annotations/TextBlockGeometry.js.map +1 -1
  9. package/lib/cjs/annotations/TextBlockLayout.d.ts +2 -2
  10. package/lib/cjs/annotations/TextBlockLayout.d.ts.map +1 -1
  11. package/lib/cjs/annotations/TextBlockLayout.js +52 -25
  12. package/lib/cjs/annotations/TextBlockLayout.js.map +1 -1
  13. package/lib/esm/IModelDb.js +1 -1
  14. package/lib/esm/IModelDb.js.map +1 -1
  15. package/lib/esm/annotations/FrameGeometry.js +6 -6
  16. package/lib/esm/annotations/FrameGeometry.js.map +1 -1
  17. package/lib/esm/annotations/LeaderGeometry.js +4 -4
  18. package/lib/esm/annotations/LeaderGeometry.js.map +1 -1
  19. package/lib/esm/annotations/TextBlockGeometry.js +3 -3
  20. package/lib/esm/annotations/TextBlockGeometry.js.map +1 -1
  21. package/lib/esm/annotations/TextBlockLayout.d.ts +2 -2
  22. package/lib/esm/annotations/TextBlockLayout.d.ts.map +1 -1
  23. package/lib/esm/annotations/TextBlockLayout.js +52 -25
  24. package/lib/esm/annotations/TextBlockLayout.js.map +1 -1
  25. package/lib/esm/test/AnnotationTestUtils.js +1 -1
  26. package/lib/esm/test/AnnotationTestUtils.js.map +1 -1
  27. package/lib/esm/test/annotations/Fields.test.js +2 -2
  28. package/lib/esm/test/annotations/Fields.test.js.map +1 -1
  29. package/lib/esm/test/annotations/FrameGeometry.test.js +4 -4
  30. package/lib/esm/test/annotations/FrameGeometry.test.js.map +1 -1
  31. package/lib/esm/test/annotations/LeaderGeometry.test.js +8 -8
  32. package/lib/esm/test/annotations/LeaderGeometry.test.js.map +1 -1
  33. package/lib/esm/test/annotations/TextAnnotation.test.js +20 -22
  34. package/lib/esm/test/annotations/TextAnnotation.test.js.map +1 -1
  35. package/lib/esm/test/annotations/TextBlock.test.js +218 -151
  36. package/lib/esm/test/annotations/TextBlock.test.js.map +1 -1
  37. package/package.json +12 -12
@@ -1499,7 +1499,7 @@ class IModelDb extends core_common_1.IModel {
1499
1499
  }
1500
1500
  /** @internal */
1501
1501
  computeRangesForText(args) {
1502
- const props = this[Symbols_1._nativeDb].computeRangesForText(args.chars, args.fontId, args.bold, args.italic, args.widthFactor, args.lineHeight);
1502
+ const props = this[Symbols_1._nativeDb].computeRangesForText(args.chars, args.fontId, args.bold, args.italic, args.widthFactor, args.textHeight);
1503
1503
  return {
1504
1504
  layout: core_geometry_1.Range2d.fromJSON(props.layout),
1505
1505
  justification: core_geometry_1.Range2d.fromJSON(props.justification),