Code Monkey home page Code Monkey logo

Comments (9)

pedroprieto avatar pedroprieto commented on August 30, 2024 2

No problem! @frealgagu was really quick accepting the PR and updating the AUR.

Glad to help!!

from t4kcommon.

andy5995 avatar andy5995 commented on August 30, 2024 2

Ok, same problem, but in different repo. The problem is in tuxtype, not in t4kcommon: https://github.com/tux4kids/tuxtype/blob/86bfd1ea0e4adb68d4492862bfd796f5361fbbd3/src/SDL_extras.c#L1352-L1360

I have created the same patch for tuxtype. You can check it here: https://github.com/pedroprieto/archlinux.tuxtype

Clone the repo and compile and install it from there. See if it works. I'll contact AUR tuxtype maintainer to fix it up.

Best!

@pedroprieto I built the tuxtype package using the PKGBUILD from your repo and it's working now. Thanks again.

from t4kcommon.

andy5995 avatar andy5995 commented on August 30, 2024

I think I have the same problem with tuxtype (I haven't tried tuxmath) on Manjaro, using v1.8.3 installed from the AUR

Screenshot_2022-02-06_14-36-46

from t4kcommon.

pedroprieto avatar pedroprieto commented on August 30, 2024

Hi, @andy5995 ,

You can try building the page from https://github.com/pedroprieto/archlinux.t4kcommon.

Just clone the repo, build it as if it were from the AUR (makepkg), install the package and see if it works.

Best!!

from t4kcommon.

andy5995 avatar andy5995 commented on August 30, 2024

Thanks @pedroprieto .

The AUR package was updated earlier today by frealgagu with a missing_texts patch

diff --git a/src/t4k_sdl.c b/src/t4k_sdl.c
index bba1a53..99653f9 100644
--- a/src/t4k_sdl.c
+++ b/src/t4k_sdl.c
@@ -1441,17 +1441,18 @@ SDL_Surface* T4K_BlackOutline(const char* t, int size, SDL_Color* c)
 
   dstrect.x = 1;
   dstrect.y = 1;
-  SDL_BlitSurface(white_letters, NULL, bg, &dstrect);
-  SDL_FreeSurface(white_letters);
+  /*SDL_BlitSurface(white_letters, NULL, bg, &dstrect);
+  SDL_FreeSurface(white_letters);*/
 
   /* --- Convert to the screen format for quicker blits --- */
-  SDL_SetColorKey(bg, SDL_SRCCOLORKEY|SDL_RLEACCEL, color_key);
-  out = SDL_DisplayFormatAlpha(bg);
+  /*SDL_SetColorKey(bg, SDL_SRCCOLORKEY|SDL_RLEACCEL, color_key);
+  out = SDL_DisplayFormatAlpha(bg);*/
   SDL_FreeSurface(bg);
 
   DEBUGMSG(debug_sdl, "\nLeaving T4K_BlackOutline(): \n");
 
-  return out;
+  /*return out;*/
+  return white_letters;
 }

from t4kcommon.

andy5995 avatar andy5995 commented on August 30, 2024

Thanks @pedroprieto .

The AUR package was updated earlier today by frealgagu with a missing_texts patch

Oh, that patch was originally submitted by @pedroprieto ! My mistake (I found after reviewing the OP)

from t4kcommon.

andy5995 avatar andy5995 commented on August 30, 2024

I reinstalled t4kcommon and tuxtype from the AUR, but that didn't change anything for me. Still no text even with the patch applied.

from t4kcommon.

pedroprieto avatar pedroprieto commented on August 30, 2024

Ok, same problem, but in different repo. The problem is in tuxtype, not in t4kcommon:
https://github.com/tux4kids/tuxtype/blob/86bfd1ea0e4adb68d4492862bfd796f5361fbbd3/src/SDL_extras.c#L1352-L1360

I have created the same patch for tuxtype. You can check it here:
https://github.com/pedroprieto/archlinux.tuxtype

Clone the repo and compile and install it from there. See if it works. I'll contact AUR tuxtype maintainer to fix it up.

Best!

from t4kcommon.

pedroprieto avatar pedroprieto commented on August 30, 2024

I leave the issue open so that @tux4kids can fix it.

Summing up, there are 2 repos affected.

  • t4kcommon
  • tuxtype

Best!

from t4kcommon.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.