libredwg
libredwg copied to clipboard
Official mirror of libredwg. With CI hooks and nightly releases. PR's ok
This compiles the library (libredwg.a) but a.wasm is 1kb. How do I get a libredwg.wasm that contains the actual exports? ``` ./autogen.sh mkdir build cd build emconfigure ../configure --disable-bindings --disable-shared...
Hello, Case is about **reading DWG's file structure** **meaning:** `model_space`, `paper_space` and blocks I followed instructions, which LibreDWG's official documentation point out into 7.1 Decoding. Also I used the second...
log: ERROR: Invalid HATCH.curve_type 0 ERROR: Invalid HATCH.curve_type 0 ERROR: Invalid HATCH.curve_type 0 Warning: Unhandled Object TABLESTYLE in out_dxf 34/7F Warning: Unstable Class object 503 MATERIAL (0x481) 42/ED Warning: Unstable...
I fixed jsmn;, but the project seems dead so if nothing happens after a while, jsmn should probably be forked or copied into LibreDWG with the fix: https://github.com/zserge/jsmn/pull/241 Parsing my...
In https://github.com/LibreDWG/libredwg/issues/1059 example [table.zip](https://github.com/user-attachments/files/18229987/table.zip) is issue: ``` --common_size: 14490 unknown_bits [3172 (14490,2891,0) 397 TF]: 0000000000101E5000000000000004340BA922CD20C820000000000000508000000000000014200000000000000608000000000000014200000000000000508000000000000018200000 00000000038800000000000000E20000000000000038800000000000000E202020020C80C832A24AA2622805210040400000000000000404040240501AA020082A020120280D501004150100901406A80802028080480A03540401054040240 501AA020082A020020280D501004050100101406A808020A8080080A03540401054040040501AA020080A020020280D501004150100101406A808020A8080080A0354040101404004050190A736F6D65207465787400A420080800000000000 1F07E8080080A03540401014040040501AA020080A020020280D501004050100101406A80802028080080A03540401014040040501AA020082A020020280D501004150100101406A80802028080080A03540401054040040501AA0200828191 04B20202888290145A90F0C2828282828282828282828282828282828282828282828280E ins_pt: (404, 38, 0) [3BD 10] scale_flag: 3 [BB 0] scale:...
After fixing of https://github.com/LibreDWG/libredwg/issues/1049 there is another issue in BLOCKSTRETCHACTION Example situation in dwg: ``` --common_size: 29 unknown_bits [1161 (29,1057,430) 146 TF]: 3FFFFFFFD1D41CF1D84251D41E25A7632EB9D0D9100AA483C5AEC2985C0903405014090240BD31232F40BCA110319634E4381E21100A2393B0B94A5F evalexpr.parentid: -1 [BLd 0] evalexpr.major: 29 [BL...
**System info** Ubuntu 20.04.6 LTS version: last commit https://github.com/LibreDWG/libredwg/commit/8e961a8ead7818b72f36bdf9eccd0d330e6ea231 **Compile options** CC=gcc CXX=g++ CFLAGS="-g -fsanitize=address" CXXFLAGS="-g -fsanitize=address" ./configure --disable-shared --disable-bindings --enable-release **Command line** ./programs/dwg2dxf ./poc **Poc** poc: [poc](https://github.com/SEU-SSL/Poc/blob/main/libredwg/id_000000%2Csig_06%2Csrc_003350%2B007001%2Ctime_55827966%2Cexece_9692579%2Cop_splice%2Crep_2) **AddressSanitizer output**...
Entity: TABLESTYLE DWG File: [Circle_Original.dwg.gz](https://github.com/user-attachments/files/17818152/Circle_Original.dwg.gz) Diff between first and second JSON: ``` < "text_style": [5,1,17,17], --- > "text_style": [5,1,16,16], ``` dwgread output: ``` Next object: 34 Handleoff: 0x1 [UMC] Offset:...
I have created a Test-dwg with some german umlauts and another special character: - A layer name with 'ü' - An mtext with 'ä' - Another mtext with 'ø' I...