Skip to content

CRasterFont 99.5% - #189

Merged
Antidote merged 1 commit into
mainfrom
codex/raster-font
Sep 27, 2026
Merged

Antidote merged 1 commit into
mainfrom
codex/raster-font

Conversation

@encounter

@encounter encounter commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@decomp-dev

decomp-dev Bot commented Sep 27, 2026

Copy link
Copy Markdown

Report for R3MP01 (415c4b2 - 023d6a8)

No changes

Report for R3ME01 (415c4b2 - 023d6a8)

No changes

Report for R32J01 (415c4b2 - 023d6a8)

No changes

Report for G2MJ01 (415c4b2 - 023d6a8)

No changes

Report for G2ME01 (415c4b2 - 023d6a8)

📈 Matched code: 15.31% (+0.08%, +5416 bytes)
📈 Matched data: 26.84% (+0.01%, +40 bytes)

✅ 37 new matches
Unit Item Bytes Before After
main/Kyoto/Text/CRasterFont rstl::sort<rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>>(rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>) +468 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::__sort3<rstl::pair<wchar_t, CGlyph>, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>>(rstl::pair<wchar_t, CGlyph>&, rstl::pair<wchar_t, CGlyph>&, rstl::pair<wchar_t, CGlyph>&, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>) +412 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::optional_object<CFontInfo>::assign(const CFontInfo&) +356 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::SinglePassDrawString(const CDrawStringOptions&, int, int, int&, int&, CTextRenderBuffer*, const wchar_t*, int) const +328 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::DrawString(const CDrawStringOptions&, int, int, int&, int&, CTextRenderBuffer*, const wchar_t*, int) const +308 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::__insertion_sort<rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>>(rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>) +292 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::GetSize(const CDrawStringOptions&, int&, int&, const wchar_t*, int) const +280 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::SetupRenderState() +276 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::iter_swap<rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>>(rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>) +216 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::swap<rstl::pair<wchar_t, CGlyph>>(rstl::pair<wchar_t, CGlyph>&, rstl::pair<wchar_t, CGlyph>&) +208 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::find_by_key<rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>>(const rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>&, const wchar_t&) +192 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::vector<CKernPair, rstl::rmemory_allocator>::reserve(int) +184 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>::reserve(int) +184 0.00% 100.00%
main/Kyoto/Text/CRasterFont CFactoryFnReturn::CFactoryFnReturn<CRasterFont>(CRasterFont*) +164 0.00% 100.00%
main/Kyoto/Text/CRasterFont TObjOwnerDerivedFromIObj<CRasterFont>::GetNewDerivedObject(const rstl::auto_ptr<CRasterFont>&) +156 0.00% 100.00%
main/Kyoto/Text/CRasterFont FRasterFontFactory(const SObjectTag&, CInputStream&, const CVParamTransfer&) +156 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::lower_bound<rstl::const_pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, wchar_t, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>>(rstl::const_pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::const_pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, const wchar_t&, rstl::pair_sorter_finder<rstl::pair<wchar_t, CGlyph>, rstl::less<wchar_t>>) +144 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::uninitialized_copy<rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pair<wchar_t, CGlyph>*>(rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pointer_iterator<rstl::pair<wchar_t, CGlyph>, rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pair<wchar_t, CGlyph>*) +104 0.00% 100.00%
main/Kyoto/Text/CRasterFont CGlyph::CGlyph(const CGlyph&) +100 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::InternalGetGlyph(wchar_t) const +100 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::auto_ptr<CRasterFont>::~auto_ptr() +100 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::SetTexture(TToken<CTexture>) +92 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::KernLookup(const rstl::vector<CKernPair, rstl::rmemory_allocator>&, int, int) +84 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::uninitialized_copy<rstl::pointer_iterator<CKernPair, rstl::vector<CKernPair, rstl::rmemory_allocator>, rstl::rmemory_allocator>, CKernPair*>(rstl::pointer_iterator<CKernPair, rstl::vector<CKernPair, rstl::rmemory_allocator>, rstl::rmemory_allocator>, rstl::pointer_iterator<CKernPair, rstl::vector<CKernPair, rstl::rmemory_allocator>, rstl::rmemory_allocator>, CKernPair*) +68 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::pair<wchar_t, CGlyph>::pair(const wchar_t&, const CGlyph&) +64 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::pair<wchar_t, CGlyph>::pair(const rstl::pair<wchar_t, CGlyph>&) +64 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::vector<rstl::pair<wchar_t, CGlyph>, rstl::rmemory_allocator>::push_back_unsafe(const rstl::pair<wchar_t, CGlyph>&) +56 0.00% 100.00%
main/Kyoto/Text/CRasterFont rstl::optional_object<CFontInfo>::operator=(const CFontInfo&) +48 0.00% 100.00%
main/Kyoto/Text/CRasterFont TToken<CRasterFont>::GetIObjObjectFor(const rstl::auto_ptr<CRasterFont>&) +44 0.00% 100.00%
main/Kyoto/Text/CRasterFont CRasterFont::IsFinishedLoading() +44 0.00% 100.00%

...and 7 more new matches

📈 1 improvement in an unmatched item
Unit Item Bytes Before After
main/Kyoto/Text/CRasterFont CRasterFont::CRasterFont(CInputStream&, IObjectStore*) +1488 0.00% 97.93%

Report for G2MP01 (415c4b2 - 023d6a8)

No changes

@Antidote
Antidote merged commit 77aa231 into main Sep 27, 2026
6 checks passed
@Antidote
Antidote deleted the codex/raster-font branch September 27, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants