dxf-viewer
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "dxf-viewer", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "JavaScript DXF file viewer", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -47,2 +47,3 @@ # DXF viewer | ||
DXF style and font attributes are ignored. Text glyphs are always rendered infilled. | ||
* [Special characters](https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoCAD-Core/files/GUID-518E1A9D-398C-4A8A-AC32-2D85590CDBE1-htm.html) in text. | ||
* Line patterns - all lines are rendered in continuous style for now. I am going to use 1-D texture | ||
@@ -49,0 +50,0 @@ generated on preparation stage, texture coordinates (which should account pattern continuity flag |
@@ -424,3 +424,4 @@ import {DxfScene, Entity} from "./DxfScene" | ||
let insertionPos = | ||
hAlign === HAlign.LEFT || hAlign === HAlign.FIT || hAlign === HAlign.ALIGNED ? | ||
(hAlign === HAlign.LEFT && vAlign === VAlign.BASELINE) || | ||
hAlign === HAlign.FIT || hAlign === HAlign.ALIGNED ? | ||
new Vector2(startPos.x, startPos.y) : new Vector2(endPos.x, endPos.y) | ||
@@ -427,0 +428,0 @@ |
246501
6500
60