Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed Apr 9, 2024
1 parent 4be67a0 commit b917b25
Show file tree
Hide file tree
Showing 14 changed files with 195 additions and 186 deletions.
File renamed without changes.
64 changes: 33 additions & 31 deletions dev-note/vcpkg.md → dev-note/pkg.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
# vcpkg

vcpkg是window为C++提供的一个库管理器,很方便安装第三方库。

## 常用命令

```shell
git clone https://github.com/microsoft/vcpkg
cd vcpkg
git pull --rebase
bootstrap-vcpkg.bat
.\vcpkg.exe search
.\vcpkg.exe install xxx // xxx:x86-windows or xxx:x64-windows
.\vcpkg.exe remove xxx
.\vcpkg.exe list
.\vcpkg.exe integrate install // 集成到全局
.\vcpkg.exe integrate remove
.\vcpkg.exe integrate project // 集成到工程, 会生成nuget配置文件,导入vs中的NuGet Package Manager中,新建工程方案时通过它来决定是否添加到当前工程
```

## 变量设置

### triplet

{VCPKG_ROOT}\triplets\x64-windows.cmake可设置环境变量
```cmake
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGEE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)
set(VCPKG_PLATFORM_TOOLSET v140)
```
# [vcpkg](https://vcpkg.io/)

vcpkg是window为C++提供的一个库管理器,很方便安装第三方库。

## 常用命令

```shell
git clone https://github.com/microsoft/vcpkg
cd vcpkg
git pull --rebase
bootstrap-vcpkg.bat
.\vcpkg.exe search
.\vcpkg.exe install xxx // xxx:x86-windows or xxx:x64-windows
.\vcpkg.exe remove xxx
.\vcpkg.exe list
.\vcpkg.exe integrate install // 集成到全局
.\vcpkg.exe integrate remove
.\vcpkg.exe integrate project // 集成到工程, 会生成nuget配置文件,导入vs中的NuGet Package Manager中,新建工程方案时通过它来决定是否添加到当前工程
```

## 变量设置

### triplet

{VCPKG_ROOT}\triplets\x64-windows.cmake可设置环境变量
```cmake
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGEE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)
set(VCPKG_PLATFORM_TOOLSET v140)
```

# []()
22 changes: 10 additions & 12 deletions index/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
- [Mathjax](../articles/mathjax.md)
- [build System](../dev-note/buildSystem.md)
- [debug](../dev-note/debug.md)
- [npm](../nodejs/npm.md)

- [nodejs包管理](../nodejs/pkg.md)
- [包管理C++](../dev-note/pkg.md)

### web
- [网页开发内容](../web/index.md)
Expand All @@ -33,16 +33,14 @@
- [css](../web/css.md)
- [canvas](../cg/canvas.md)
- [小程序开发](../web/mini.md)

#### [nodejs](../nodejs/index.md)
- [测试模块](../nodejs/test.md)
- [vue](../nodejs/vue.md)
- [图像处理](../nodejs/ImageManipulation.md)
- [diff算法原理](../nodejs/diff.md)
- [electron框架](../nodejs/electron.md)
- [quill富文本编辑器](../nodejs/quill.md)
- [压缩](../nodejs/zip.md)
- [FRP-Functional Reactive Programming](../nodejs/frp.md)
- [字体](../web/font.md)
- [框架](../web/framework.md)
- [测试模块](../web/test.md)
- [图像处理](../web/ImageManipulation.md)
- [diff算法原理](../web/diff.md)
- [quill富文本编辑器](../web/quill.md)
- [压缩](../web/zip.md)
- [FRP-Functional Reactive Programming](../cpl/frp.md)

### 图形学
- [裁剪](../cg/tools/culling.md)
Expand Down
3 changes: 0 additions & 3 deletions nodejs/electron.md

This file was deleted.

40 changes: 0 additions & 40 deletions nodejs/index.md

This file was deleted.

File renamed without changes.
File renamed without changes.
10 changes: 9 additions & 1 deletion web/font.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,17 @@ TrueType(CID)
编码 Identity-H
[TrueType CID fonts causing issues for clients with older printers](https://forum.aspose.com/t/truetype-cid-fonts-causing-issues-for-clients-with-older-printers/13530/3)

## 渲染

figma文字 > 矢量形状 > 屏幕像素

- [canvas-editor基于canvas/svg的富文本编辑器](https://hufe.club/canvas-editor-docs/)


## 参考
[Web 字体 font-family 该如何设置?](https://zhuanlan.zhihu.com/p/313284552)
[cmap — Character to Glyph Index Mapping Table](https://learn.microsoft.com/en-us/typography/opentype/spec/cmap#encoding-records-and-encodings)
[Fonts & Encodings](https://book.douban.com/subject/2362953/)
[打印机分辨率增强技术](https://www.docin.com/p-878782126.html)
[打印机分辨率增强技术](https://www.docin.com/p-878782126.html)
- [opentype.js is an OpenType and TrueType font parser and writer. It allows you to access the letterforms of text from the browser or node.js. ](https://opentype.js.org/)
- [github-Read and write OpenType fonts using JavaScript. ](https://github.com/opentypejs/opentype.js/)
6 changes: 5 additions & 1 deletion nodejs/vue.md → web/framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
window.addEventListener('hashchange', initial, false);
```

Vue3.0新增了一个组件Teleport组件,将其所在组件模板内容内容移动到特定的DOM位置
Vue3.0新增了一个组件Teleport组件,将其所在组件模板内容内容移动到特定的DOM位置

# Electron

- [工程创建模板](https://github.com/reZach/secure-electron-template)
40 changes: 40 additions & 0 deletions web/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,43 @@ jszip.loadAsync(new Blob([buffer])).then(zip=>{

- [Draggable objects可拖动的对象网页实现](https://www.redblobgames.com/making-of/draggable/)

# Node

## 构建工具

### [Parcel](https://parceljs.org/docs/)

Parcel is a zero configuration build tool for the web

### [rollup](https://rollupjs.org/introduction/)

Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. I


## 相关库

### UI
- [bootstrap](https://getbootstrap.com/)
- [fast bootstrap](https://fastbootstrap.com/)

- [naive ui](https://www.naiveui.com/en-US/os-theme)


### 其他

- [jspdf](https://github.com/parallax/jsPDF)
- [npmjs](https://www.npmjs.com/package/jspdf)
- [Element Plus](https://element-plus.org/en-US/component/button.html)

- [ Fabric.js is a powerful and simple Javascript HTML5 canvas library ](http://fabricjs.com/)
- [github fabric](https://github.com/fabricjs/fabric.js)

- [原生HTML5的canvas中所支持的贝塞尔曲线最多只到3阶,bezierMaker.js可以理论支持N阶贝塞尔曲线的生成](https://github.com/Aaaaaaaty/bezierMaker.js)

- [AlloyImage - 基于HTML5技术的专业图像处理库](https://github.com/AlloyTeam/AlloyImage)

- [JSCAD](https://jscad.app/)
- [github](https://github.com/jscad)
- [open jscad](https://openjscad.xyz/)
- [CADit.app](https://cadit.app/)
- [A jscad UI playground developed here and meant to be later contributed into jscad](https://github.com/hrgdavor/jscadui)
Loading

0 comments on commit b917b25

Please sign in to comment.