XML editor font size doesn't match specified font size

This forum is for all Flare issues related to styles, stylesheets and XML.

XML editor font size doesn't match specified font size

Postby dcomly on Fri Jul 06, 2018 7:42 am

Our current visual style calls for all text (<p>, <ol>, <ul>, etc.) to use the same font size. To simplify maintenance, we set the font size in the <body> style and used "default" for other styles. Text displays as specified in the preview and output, but 16pt in the XML Editor. When font size is specified in the <p>, <ol>, <ul>, etc. styles, it displays as expected in the XML Editor.

This 16pt font size in the XML Editor seems to be a constant. We've experimented with extreme font sizes (4pt, 24pt) and get the same result: 16pt in the XML Editor and specified size in the preview and output.

Is there any way to get the XML Editor to respect the font size specified in the <body> style?
dcomly
Jr. Propeller Head
 
Posts: 2
Joined: Thu Jun 12, 2014 12:09 pm
Location: New Hampshire

Re: XML editor font size doesn't match specified font size

Postby Nita Beck on Sun Jul 08, 2018 5:36 pm

Welcome to the forums! :)

My hunch is that you have the stylesheet associated with a target (as you should) but that that target is not set as the primary target. The primary target is one of the things taken into consideration for how things appear in the XML Editor. (For more info, see https://help.madcapsoftware.com/flare2018/Content/Flare/Targets/Setting-Primary-Target.htm.) You might also need to check if text is being scaled in the XML Editor and if the right medium is being looked at.
Nita
Image
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Nita Beck
Senior Propellus Maximus
 
Posts: 3038
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: XML editor font size doesn't match specified font size

Postby dcomly on Wed Jul 11, 2018 9:35 am

Your hunch was correct. I'm fixing the problem now. Thank you!
dcomly
Jr. Propeller Head
 
Posts: 2
Joined: Thu Jun 12, 2014 12:09 pm
Location: New Hampshire


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 8 guests