Posts tagged ‘web development’


Fixing Wordpress’s problem of fake bolds and italics

11.06.2021

I haven’t been able to find anything on this bug online, but it’s very common.
   As far as I can recall, all of our online publications that use Wordpress have themes designed or modified by yours truly. However, Lucire Rouge has a mostly bought-in theme, where my changes have been limited to a couple of CSS rules. The theme developer actually came in and helped us with a few modifications, which shows the extent to which he does follow-up for paying customers.
   But there was one thing he was never able to crack, and I don’t think it’s his fault, since it happens on a lot of websites, including Medinge Group’s (also a theme I did not design, though I did earlier ones). On both these sites, there were no bolds and italics. There still aren’t on Medinge’s.
   There are <strong> and <em> codes in there, but the bolding and obliquing are done by the browser. The font files actually aren’t loaded, so what we see are false bolds (the browser attempts to “overprint” the roman, duplicating the outline and shifting it marginally to give the illusion of a heavier typeface) and obliques, not italics (it’s the roman file pushed over 15 degrees or so). The former is particularly bad, as the outlines clash, and the result can be hollow glyphs, something that any font developer will know when one outline winds up accidentally on top of another in Fontographer or Fontlab.
   These Wordpress themes rely on Google Fonts (another sin, in my opinion) so I don’t know if the fault lies with Google or Wordpress, or the developer. If Wordpress does indeed power 70 per cent of websites, then I have to say the bug is awfully common, and I probably do see it on a very high percentage of visited sites.
   The themes allow us to select the font family, but the selection only calls a single font file from the family.


Above: A graphic clipping text from Lucire Rouge that I sent to the developer.

   The solution, as I discovered after months of toing and froing with Lucire Rouge’s theme dev, was to do your own font-linking rules in the CSS file and upload the fonts themselves to the relevant directory on the server. I must note publicly the ‘months’ were not his fault, but due to my own delay. I should not expect computer programmers to be typographers, either.
   It is something that one needs to watch out for, as the fake bolds and italics are horrible to look at, and must look amateur, even to the non-professional.



Above: Fixed at last by yours truly.

Tags: , , , , , , , , , , , , ,
Posted in design, internet, media, publishing, technology | No Comments »


In my experience, the only browser that works with Jetstar’s website is Safari for Mac

23.07.2019

I’ve found some forum entries about this, but they date back to the beginning of the decade. I alerted Jetstar to this in March, and the problem has worsened since then.
   Basically, I can’t book online, and I don’t know why. Consequently, I booked one flight with Air New Zealand and only managed, after huge effort, to get the other (for a colleague) with Jetstar.
   Back in March, I couldn’t book with Vivaldi, but I was able to switch to Firefox. I let Jetstar know.
   Now, this strategy does not work.
   Before you suggest it, cookies and caches have been cleared.
   Here’s what happens after I’ve selected the cities and the dates, and I go to select times. Let’s begin with Vivaldi on Windows, which is based on Chromium (which, as we know, is what Chrome, the browser Jetstar suggests you use, is based on):

Switching to Firefox now results in this:

Switching to Edge on the same PC gives this:

   Fortunately, I also own Macs, so here’s what Firefox for Mac returns:

   The only browser that works with the Jetstar website: Safari on Mac. As I’ve sold my Ubuntu laptop, I was unable to test using that OS.
   Not many people would go to that effort, and while Jetstar’s Twitter staff (after some pushing from me in DMs) said they would refer it on, I don’t expect anything to happen.
   Maybe Chrome would work, but I’m not ever going to download it to find out. Why invite Google on to your computer? But if that is the case, it seems foolish to limit yourself to such an invasive browser. My experience is that whatever is blocking me from booking with Jetstar (some may argue that this is a good thing), it is expanding across browsers.

Tags: , , , , , , , , , , , , , , , , , , , ,
Posted in business, design, internet, technology | No Comments »