Remote Desktop Connection font

本文介绍了解决远程桌面连接中字体出现锯齿化的方法,包括调整连接速度和启用FontSmoothing选项。

远程桌面连接远程机器的时候,字体会出现锯齿化。 可以设置远程桌面连接的连接速度或选择Font Smoothing

 

gapinyc@DESKTOP-9QS7RL5:/mnt/c/Users/pc$ curl -v http://192.168.110.204:8080/AI-rotator.html curl -v http://192.168.110.204:8079/ * Trying 192.168.110.204:8080... * connect to 192.168.110.204 port 8080 failed: Connection refused * Failed to connect to 192.168.110.204 port 8080 after 0 ms: Connection refused * Closing connection 0 curl: (7) Failed to connect to 192.168.110.204 port 8080 after 0 ms: Connection refused * Trying 192.168.110.204:8079... * Connected to 192.168.110.204 (192.168.110.204) port 8079 (#0) > GET / HTTP/1.1 > Host: 192.168.110.204:8079 > User-Agent: curl/7.81.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: nginx/1.18.0 (Ubuntu) < Date: Thu, 27 Nov 2025 07:45:40 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 8366 < Connection: keep-alive < <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>🚚 智能配送看板</title> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet"> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { background: #0a1120; color: #e0f7fa; font-family: 'Roboto', sans-serif; overflow: hidden; height: 100vh; font-size: 14px; } .container { width: 95%; max-width: 1600px; margin: 20px auto; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6); } header { background: #001f3f; color: #00eaff; padding: 12px 20px; font-weight: 700; letter-spacing: 1px; border-bottom: 1px solid #00eaff; display: flex; justify-content: space-between; align-items: center; } .title { white-space: nowrap; } .clock { font-size: 16px; color: #aaffff; } .scroll-container { height: calc(100vh - 120px); overflow: hidden; position: relative; } .scroll-dual { display: flex; flex-direction: column; transition: transform 0s; } .scroll-content { display: flex; flex-direction: column; } .waybill-item { background: rgba(13, 96, 144, 0.3); margin: 6px 8px; padding: 12px; border-radius: 10px; backdrop-filter: blur(6px); border: 1px solid rgba(0, 234, 255, 0.15); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); } .driver-info { font-size: 16px; font-weight: bold; color: #00eaff; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; } .waybill-id { font-size: 13px; color: #aaffff; } .progress-line { display: flex; align-items: center; } .stop-point { width: 24px; height: 24px; border-radius: 50%; margin: 0 6px; display: flex; justify-content: center; align-items: center; font-weight: bold; color: white; font-size: 12px; } .stop-point.completed { background: #52c41a; } .stop-point.current { background: #faad14; } .stop-point.upcoming { background: #cccccc; color: #333; } .line { flex-grow: 1; height: 3px; background: rgba(200, 200, 200, 0.4); border-radius: 1.5px; } .footer { text-align: center; padding: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.2); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px; } .empty-state { text-align: center; padding: 40px 20px; color: #aaa; font-size: 16px; } </style> </head> <body> <div class="container"> <header> <div class="title">🚀 智能物流 · 实时配送看板</div> <div class="clock" id="clock">加载中...</div> </header> <div class="scroll-container" id="scrollContainer"> <div class="scroll-dual" id="dualContent"> <div class="scroll-content" id="content"></div> <div class="scroll-content" id="contentClone"></div> </div> </div> <div class="footer"> <span>📊 当前共 <strong id="totalCount">0</strong> 个配送任务</span> <span>最后更新: <span id="lastUpdate">加载中...</span></span> </div> </div> <script> const content = document.getElementById('content'); const contentClone = document.getElementById('contentClone'); const dualContent = document.getElementById('dualContent'); const totalCount = document.getElementById('totalCount'); const lastUpdate = document.getElementById('lastUpdate'); const clockEl = document.getElementById('clock'); let currentY = 0; let scrollInterval; // 更新时钟 function updateClock() { const now = new Date(); const dateStr = now.toLocaleDateString(); const timeStr = now.toLocaleTimeString(); const weekdays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']; const weekday = weekdays[now.getDay()]; clockEl.textContent = `${dateStr} ${timeStr} ${weekday}`; } setInterval(updateClock, 1000); updateClock(); // 获取数据 async function fetchData() { try { const res = await fetch('/api/data'); return await res.json(); } catch (err) { console.error("获取数据失败:", err); return []; } } // 渲染到指定元素 function renderToElement(el, data) { el.innerHTML = ''; if (!data || data.length === 0) { el.innerHTML = '<div class="empty-state">📭 当前无配送中的运单</div>'; return; } const fragment = document.createDocumentFragment(); data.forEach(order => { const item = document.createElement('div'); item.className = 'waybill-item'; item.dataset.waybillId = order.waybill_id; // 司机信息 const driverInfo = document.createElement('div'); driverInfo.className = 'driver-info'; const driverText = document.createElement('span'); driverText.textContent = `🚛 ${order.driver_name}`; const waybillId = document.createElement('span'); waybillId.className = 'waybill-id'; waybillId.textContent = `#${order.waybill_id}`; driverInfo.appendChild(driverText); driverInfo.appendChild(waybillId); // 进度条 const progressLine = document.createElement('div'); progressLine.className = 'progress-line'; (order.stops || []).forEach((stop, index) => { const point = document.createElement('div'); point.className = 'stop-point'; if (stop.is_completed) point.classList.add('completed'); else if (stop.is_current) point.classList.add('current'); else point.classList.add('upcoming'); point.textContent = stop.sort || (index + 1); progressLine.appendChild(point); // 添加连接线(最后一个不加) if (index < (order.stops?.length || 0) - 1) { const line = document.createElement('div'); line.className = 'line'; progressLine.appendChild(line); } }); item.appendChild(driverInfo); item.appendChild(progressLine); fragment.appendChild(item); }); el.appendChild(fragment); } // 启动无限滚动(匀速平滑) function startInfiniteScroll() { clearInterval(scrollInterval); scrollInterval = setInterval(() => { const singleHeight = content.scrollHeight; if (singleHeight <= 0) return; currentY += 1.5; // 滚动速度 dualContent.style.transform = `translateY(-${currentY}px)`; // 回到起点,实现无缝循环 if (currentY >= singleHeight * 2) { dualContent.style.transition = 'none'; dualContent.style.transform = 'translateY(0)'; currentY = 0; // 恢复过渡(保持性能) requestAnimationFrame(() => { requestAnimationFrame(() => { dualContent.style.transition = 'transform 0s'; }); }); } }, 50); // 每 50ms 移动一次 } // 初始化 async function init() { let data = await fetchData(); renderToElement(content, data); renderToElement(contentClone, data); totalCount.textContent = data.length; lastUpdate.textContent = new Date().toLocaleTimeString(); startInfiniteScroll(); // 每 10 秒自动刷新数据 setInterval(async () => { data = await fetchData(); renderToElement(content, data); renderToElement(contentClone, data); totalCount.textContent = data.length; lastUpdate.textContent = new Date().toLocaleTimeString(); }, 10000); } // 启动应用 init(); </script> </body> * Connection #0 to host 192.168.110.204 left intact </html>gapinyc@DESKTOP-9QS7RL5:/mnt/c/Users/pc$ ubuntu@VM-0-6-ubuntu:~$ sudo netstat -tulnp | grep -E ':(8080|8088|8079)' tcp 0 0 0.0.0.0:8088 0.0.0.0:* LISTEN 492708/sshd: ubuntu tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 492708/sshd: ubuntu tcp6 0 0 :::8088 :::* LISTEN 492708/sshd: ubuntu tcp6 0 0 :::8080 :::* LISTEN 492708/sshd: ubuntu ubuntu@VM-0-6-ubuntu:~$ sudo netstat -tulnp | grep -E ':(8080|8079|8088)' tcp 0 0 0.0.0.0:8088 0.0.0.0:* LISTEN 492708/sshd: ubuntu tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 492708/sshd: ubuntu tcp6 0 0 :::8088 :::* LISTEN 492708/sshd: ubuntu tcp6 0 0 :::8080 :::* LISTEN 492708/sshd: ubuntu ubuntu@VM-0-6-ubuntu:~$
11-28
内容概要:文章以“智能网页数据标注工具”为例,深入探讨了谷歌浏览器扩展在毕业设计中的实战应用。通过开发具备实体识别、情感分类等功能的浏览器扩展,学生能够融合前端开发、自然语言处理(NLP)、本地存储与模型推理等技术,实现高效的网页数据标注系统。文中详细解析了扩展的技术架构,涵盖Manifest V3配置、内容脚本与Service Worker协作、TensorFlow.js模型在浏览器端的轻量化部署与推理流程,并提供了核心代码实现,包括文本选择、标注工具栏动态生成、高亮显示及模型预测功能。同时展望了多模态标注、主动学习与边缘计算协同等未来发展方向。; 适合人群:具备前端开发基础、熟悉JavaScript和浏览器机制,有一定AI模型应用经验的计算机相关专业本科生或研究生,尤其适合将浏览器扩展与人工智能结合进行毕业设计的学生。; 使用场景及目标:①掌握浏览器扩展开发全流程,理解内容脚本、Service Worker与弹出页的通信机制;②实现在浏览器端运行轻量级AI模型(如NER、情感分析)的技术方案;③构建可用于真实场景的数据标注工具,提升标注效率并探索主动学习、协同标注等智能化功能。; 阅读建议:建议结合代码实例搭建开发环境,逐步实现标注功能并集成本地模型推理。重点关注模型轻量化、内存管理与DOM操作的稳定性,在实践中理解浏览器扩展的安全机制与性能优化策略。
基于Gin+GORM+Casbin+Vue.js的权限管理系统是一个采用前后端分离架构的企业级权限管理解决方案,专为软件工程和计算机科学专业的毕业设计项目开发。该系统基于Go语言构建后端服务,结合Vue.js前端框架,实现了完整的权限控制和管理功能,适用于各类需要精细化权限管理的应用场景。 系统后端采用Gin作为Web框架,提供高性能的HTTP服务;使用GORM作为ORM框架,简化数据库操作;集成Casbin实现灵活的权限控制模型。前端基于vue-element-admin模板开发,提供现代化的用户界面和交互体验。系统采用分层架构和模块化设计,确保代码的可维护性和可扩展性。 主要功能包括用户管理、角色管理、权限管理、菜单管理、操作日志等核心模块。用户管理模块支持用户信息的增删改查和状态管理;角色管理模块允许定义不同角色并分配相应权限;权限管理模块基于Casbin实现细粒度的访问控制;菜单管理模块动态生成前端导航菜单;操作日志模块记录系统关键操作,便于审计和追踪。 技术栈方面,后端使用Go语言开发,结合Gin、GORM、Casbin等成熟框架;前端使用Vue.js、Element UI等现代前端技术;数据库支持MySQL、PostgreSQL等主流关系型数据库;采用RESTful API设计规范,确保前后端通信的标准化。系统还应用了单例模式、工厂模式、依赖注入等设计模式,提升代码质量和可测试性。 该权限管理系统适用于企业管理系统、内部办公平台、多租户SaaS应用等需要复杂权限控制的场景。作为毕业设计项目,它提供了完整的源码和论文文档,帮助学生深入理解前后端分离架构、权限控制原理、现代Web开发技术等关键知识点。系统设计规范,代码结构清晰,注释完整,非常适合作为计算机相关专业的毕业设计参考或实际项目开发的基础框架。 资源包含完整的系统源码、数据库设计文档、部署说明和毕
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值