Locked

The font effect of Flash display is different between Chrome browser and IE browser.

Explorer ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

Simsun for fonts. Size 12

IE:

1.png

Chome:

2.png

chrome The font is bold and the display is incomplete.

How to solve?

Views

385

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Explorer , Sep 14, 2018 Sep 14, 2018
Hello. I did use the system font. But I found that:If the code is like this.-----------------------------------------------------------------------var format:TextFormat = new TextFormat();format.font = "Simsun";-----------------------------------------------------------------------Will cause the fonts displayed by IE and Chrome to be different.The old version of Chrome, the same font as IE, the new version of Chrome, the font is different.After changing to this, it becomes the same.-------------...

Likes

Translate

Translate
Adobe Employee ,
Sep 14, 2018 Sep 14, 2018

Copy link to clipboard

Copied

It sounds like you are using a system font instead of an embedded font.  You can embed a font if you want consistent rendering across all operating system and browser targets, but this makes the SWF larger.  Alternatively, you can use system fonts, but there is no guarantee that they will be consistent across configurations.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 14, 2018 Sep 14, 2018

Copy link to clipboard

Copied

Hello. I did use the system font. But I found that:

If the code is like this.

-----------------------------------------------------------------------

var format:TextFormat = new TextFormat();

format.font = "Simsun";

-----------------------------------------------------------------------

Will cause the fonts displayed by IE and Chrome to be different.

The old version of Chrome, the same font as IE, the new version of Chrome, the font is different.

After changing to this, it becomes the same.

-----------------------------------------------------------------------

var format:TextFormat = new TextFormat();

format.font = "宋体";

-----------------------------------------------------------------------

What caused it? Font settings can't be used in English?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 17, 2018 Sep 17, 2018

Copy link to clipboard

Copied

That's a good question.  I'll have to ask around to be 100% sure, but I believe that we just request the string that you provide, and the browser and/or operating system's underlying font subsystem is actually making the decision about what the best match is.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 17, 2018 Sep 17, 2018

Copy link to clipboard

Copied

LATEST

According to your description, there seems to be a problem with the Chrome browser.

But now many Chinese websites, the latest version of the Chrome browser, the font display is broken, then I can give the browser a bug and let them modify it?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines