TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Slug: Dynamic GPU Font Rendering and Advanced Text Layout

152 点作者 espeed将近 6 年前

10 条评论

steeve将近 6 年前
Does anyone know how this compares to PathFinder [1] ?<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;servo&#x2F;pathfinder" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;servo&#x2F;pathfinder</a>
评论 #20478030 未加载
dang将近 6 年前
Thread from 2017: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14507597" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14507597</a>
评论 #20475381 未加载
sgrove将近 6 年前
The image previews looks like it&#x27;s <i>very</i> crips, looks great - and the multicolored emoji is a nice touch.<p>It seems like this would have the same challenges as multi channel signed distance fields [0], where for unicode (e.g. Chinese characters) you need to generate textures on the fly and ship them to the GPU for the fragment shader to work off of.<p>[0] HN Discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20020664" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20020664</a>
westoncb将近 6 年前
I wonder if it would be plausible to use this with webgl via WASM... Or if anyone&#x27;s working on a javascript implementation of the algorithm.<p>Good text rendering&#x2F;layout is about the only thing I feel like I&#x27;m missing from being able to pretty simply&#x2F;rapidly create 3d apps with web tech these days. I still end up typically just overlaying DOM elements over the scene :&#x2F;
评论 #20475673 未加载
评论 #20478715 未加载
评论 #20476118 未加载
bsder将近 6 年前
Could we get a nice way to mark this as &quot;Not Open Source&quot;?<p>I spent far too long looking for technical details, a github or similar on that page before I realized that this wasn&#x27;t open.<p>I&#x27;m not opposed to non-open source software, but it would be nicer if this was a bit more up front.
评论 #20480074 未加载
jchw将近 6 年前
I do recall somewhat recently a great improvement was made to SDF using multiple channels of information: <a href="https:&#x2F;&#x2F;github.com&#x2F;Chlumsky&#x2F;msdfgen" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Chlumsky&#x2F;msdfgen</a><p>I wonder how they both compare. I am guessing Slug is more accurate but certainly also much more intensive, if its actually rendering outlines.
评论 #20476195 未加载
Cieric将近 6 年前
This kind of reminds me of <a href="http:&#x2F;&#x2F;wdobbie.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;wdobbie.com&#x2F;</a> since the only two posts he has are about rendering fonts directly from the bezier curve data of the font.
FraKtus将近 6 年前
It looks great!<p>Too bad the site is very mysterious about licensing and pricing.<p>Did anybody contact them to request a quote?
otakucode将近 6 年前
How difficult would it be for this library, or something akin to it, to become the first thing loaded when a PC boots? For several years now I have thought the ancient default of a &#x27;textmode&#x27; as the underlying and initial display was destined to only become more and more useless as pixel densities continue to climb. We need the first display mode available to an OS to support vector display. Raster images can come later. I don&#x27;t know what all is involved in initializing a GPU and handing the display over to it, though, so I&#x27;m curious how hard it would be. Would it absolutely require a new BIOS?
评论 #20476998 未加载
评论 #20475935 未加载
bin0将近 6 年前
It looks like a great piece of code, and I wish I could use it. Maybe the author would consider doing a free-for-open-source type model like many other companies do? It would have the benefit of allowing developers to become familiar with the technology and possibly encourage wider use, too. To be clear, I&#x27;m not saying the author needs to open-source it, but he might wish to consider distributing a static lib.