Item logo image for Rendered Font

Rendered Font

5.0(

1 rating

)
Item media 1 (screenshot) for Rendered Font

Overview

選択文字列に適用されているフォントを判定します。

■使用方法 フォント判定したい文字列を選択し、右クリックで「Rendered Font」をクリック。 ※選択文字列の最初の一文字が判定対象となります。 ■ブラウザのフォント適用ロジックについて フォントはfont-familyに指定された順番で優先的に適用されます。また、フォントに該当の文字列が格納されていない場合は次の優先順位のフォントが適用され、いずれも適用できるフォントが無い場合はブラウザに設定されたデフォルトのフォントが適用されます。 つまり同じ文章でも一文字単位で違うフォントが適用される可能性があるため、フォント判定は任意の一文字を対象にする必要があります。 ■フォントの判定プロセス(概要) < 判定対象文字列の指定 > 1.ブラウザ上で判定対象となる文字列を選択し、右クリックで「Rendered Font」をクリック。選択文字列の最初の一文字が判定対象となります。 < font-familyの取得 > 2.文字列を格納するDOM要素を取得し、window.getComputedStyleで要素に指定されているfont-familyを取得。 < 判定対象の文字列にfont-family中のどのフォントが適用されているかを調べる > 3.テスト用DOM要素を作成し、判定対象の1文字を10個(任意)ほど格納する。 4.まずは2で取得したfont-familyをそのまま適用したときの要素のwidthとheightを調べる 5.次にfont-familyに設定されたフォント名をそれぞれ単独で適用したときのwidthとheightを調べ、4の値と比較し、値が一致したフォントが実際に適用されているフォントであると判定します。

5 out of 51 rating

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    0.0.3
  • Updated
    April 27, 2025
  • Offered by
    newsnepia
  • Size
    26.92KiB
  • Languages
    日本語
  • Developer
    Email
    sebavien@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data. To learn more, see the developer’s privacy policy.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

Related

Font Localization for Google Fonts

5.0(1)

Forces glyph rendering for a specific language in Google Fonts.

Font Family Changer for AppsScript

3.5(2)

This extension change the font family of the google apps script editor.

Page Font Bolder

3.7(11)

Make the page font bolder

deblurr

4.7(7)

Disables anti-aliasing.

change all UI fonts

4.5(66)

Changes all the UI font to a user-given font.

BlackInk Little

3.6(7)

Enhance text contrast for bad web pages.

Font Rendering Enhancer

4.6(374)

Font Rendering Enhancer for Chrome. Darker and clearer text on the pages.

Optimize Legibility

3.8(13)

Inserts CSS to optimize page text.

Better Font

3.9(8)

Improve websites appearance on Google Chome with better fonts replacement.

Font Smoothing

3.5(16)

Adds configurable font anti-aliasing to all webpages you visit.

Adjust HackerNews Font Size

0.0(0)

Adjust news.ycombinator.com font size, and save your local setting.

Better Typography | Smooth Fonts

4.1(8)

Enable Kerning & Grayscale Anti-Aliasing for chrome on macOS

Font Localization for Google Fonts

5.0(1)

Forces glyph rendering for a specific language in Google Fonts.

Font Family Changer for AppsScript

3.5(2)

This extension change the font family of the google apps script editor.

Page Font Bolder

3.7(11)

Make the page font bolder

deblurr

4.7(7)

Disables anti-aliasing.

change all UI fonts

4.5(66)

Changes all the UI font to a user-given font.

BlackInk Little

3.6(7)

Enhance text contrast for bad web pages.

Font Rendering Enhancer

4.6(374)

Font Rendering Enhancer for Chrome. Darker and clearer text on the pages.

Optimize Legibility

3.8(13)

Inserts CSS to optimize page text.

Google apps